| col2hexa | R Documentation | 
This function converts any color of the R system to hexadecimal format.
col2hexa(x, alpha.channel = FALSE, alpha = 1, charstring = TRUE)
| x | a vector of any of the three kinds of R color specifications. | 
| alpha.channel | logical. Sould an alpha channel included in the output?  Default is  | 
| alpha | a vector of numeric values in  | 
| charstring | logical. Sould resulting elements be surrounded by quotation marks? Default is  | 
A character vector of hexadecimal values.
col2rgb for translating R colors to RGB vectors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.