polarLUV | R Documentation |
This function creates colors of class “polarLUV”; a subclass of the
virtual color-class
class.
polarLUV(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 polarLUV space is a transformation of the CIE L^*u^*v^*
space so that the u
and v
values are converted to polar
coordinates. The radial component C
measures chroma and the angular
coordinate H
is measures hue. It is also known as the HCL
(hue-chroma-luminance) space.
An object of class polarLUV
which inherits from class color
.
Ross Ihaka
RGB
, HSV
, XYZ
,
LAB
, polarLAB
, LUV
,
polarLUV
.
## Show the polarLUV space
set.seed(1)
x <- sRGB(runif(1000), runif(1000), runif(1000))
y <- as(x, "polarLUV")
head(x)
head(y)
plot(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.