Convert color names to RGB hex codes.
Color names may be provided with the following format:
"<Lightness> <Saturation> <Hue> <Hue2>"
where words are seperated by spaces, dashes, or underscores.
<Lightness> may take the values:
white, very light, light, medium, dark, very dark, black
<Saturation> may take the following values:
gray, grayish, moderate, strong, vivid.
<Hue> may take the values:
red, orange, brown, yellow, green, blue, purple
If two hues are specified, they are blended 1:1, unless the
is used, which specifies a 3:1 blend.
If the hue is not built-in, the hue of the corresponding system color is used.
A character vector of RGB hex codes.
This is parameterized using the 1986 paper, which probably has different values than the SAS 9 implementation. While the color names should be compatible, the shades may be slightly different, particularly for browns.
Berk, T., Brownston, L., & Kaufman, A. (1982). A New Color-Naming System for Graphics Languages. IEEE Computer Graphics and Applications, 2(03), 37-44.
Kaufman, A. (1986). Computer artist's color naming system. The Visual Computer, 2(4), 255-260.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.