This function creates colors of class “LUV”; a subclass of the virtual
LUV(L, U, V, names)
these arguments give the L, U and V coordinates of the colors.
The values can be provided in separate
a vector of names for the colors (by default the row names of
V values give the coordinates of the
colors in the CIE (1976) L*u*v* space. This is a
transformation of the 1931 CIE XYZ space which attempts to produce
perceptually based axes. Luminance takes values between 0 and 100, and the other coordinates
typically take values between -100 and 100, although these values can also
be exceeded by highly saturated colors. The u and v
coordinates measure positions on green/red and blue/yellow axes.
An object of class
LUV which inherits from class
## Show the LUV space set.seed(1) x <- sRGB(runif(1000), runif(1000), runif(1000)) y <- as(x, "LUV") head(x) head(y) plot(y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.