polarLAB {colorspace} | R Documentation |
This function creates colors of class “polarLAB”; a subclass of the virtual “color” class.
polarLAB(L, C, H, names)
L,C,H |
these arguments give the L, C and H coordinates of
the colors. The values can be provided in separate |
names |
A vector of names for the colors (by default the row
names of |
The polarLAB space is a transformation of the CIE L*a*b* space so that the a and b values are converted to polar coordinates. The radial component C measures chroma and the angular coordinate H is measures hue.
An object of class “polarLAB” which inherits from class “color.”
Ross Ihaka
RGB
,
HSV
,
XYZ
,
LAB
,
polarLAB
,
LUV
,
polarLUV
.
## Show the polarLAB space x = RGB(runif(1000), runif(1000), runif(1000)) plot(as(x,"polarLAB"))