This function creates colors of class RGB;
a subclass of the virtual ``color'' class.
Usage
RGB(R, G, B, names)
Arguments
R,G,B
these arguments give the red, green and blue
intensities of the colors (the values should lie between 0 and 1).
The values can be provided in separate R, G and
B vectors or in a three-column matrix passed
names
A vector of names for the colors (by default the row
names of R are used).
Value
An object of class ``RGB'' which inherits from class ``color.''
Details
This function creates colors in the RGB color space which is
a linearly transformed version of CIEXYZ space.