Extract the Numerical Coordinates of a Color
This function returns a matrix with three columns which give the coordinates of a color in its natural color space.
coords(color)
color |
A color. |
A numeric matrix giving the coordinates of the color.
Ross Ihaka
x <- RGB(1, 0, 0) coords(as(x, "HSV"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.