coords.Rd
This function returns a matrix with three columns which give the coordinates of a color in its natural color space.
coords(color)
A color.
A numeric matrix giving the coordinates of the color.
x <- sRGB(1, 0, 0)
coords(as(x, "HSV"))
#> H S V
#> [1,] 360 1 1