Convert any [R] color to RGB (red, green, blue) values. Accepted color
values are 1) a color name (an element of
colors()), 2) a
a hexadecimal string of the form
"#rrggbb", or 3) an integer
vector of any of the three kind of [R] colors described in the description section.
This method is just a wrapper for
col2rgb() in the [R] base
package and included to collect color functions at one place.
matrix with the three rows
blue. The columns contains the RGB value for each color.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.