Description Usage Arguments Value Author(s) See Also Examples
Convert R built-in colors to hexadecimal representation.
1 | convertcolor(cols, alpha = NULL)
|
cols |
a character vector containing R built-in colors. |
alpha |
alpha value: a two-digit integer between 01 and 99 for color opacity, i.e. appearance of partial or full transparency (usage omitted by default). |
convertcolor
returns a vector containing R built-in colors in hexadecimal representation.
Bjoern Schwalb
1 | convertcolor(c("red","green","blue"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.