This function creates colors of class RGB; a subclass of the virtual
RGB(R, G, B, names)
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
A vector of names for the colors (by default the row names of
This function creates colors in the linearized sRGB color space (IEC standard 61966).
An object of class
RGB which inherits from class
# Create a random set of colors set.seed(1) RGB(R = runif(20), G = runif(20), B = runif(20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.