XYZ | R Documentation |
This function creates colors of class XYZ; a subclass of the virtual
color-class
class.
XYZ(X, Y, Z, names)
X , Y , Z |
these arguments give the X, Y and Z 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 X, Y and Z values are the levels of the CIE primaries. These are scaled so that the luminance of the display white-point is 100. The white-point is taken to be D65, which means that its coordinates are 95.047, 100.000, 108.883.
An object of class XYZ
which inherits from class color
.
Ross Ihaka
RGB
, HSV
, LAB
,
polarLAB
, LUV
, polarLUV
.
## Generate white in XYZ space
XYZ(95.047, 100.000, 108.883)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.