col2hex | R Documentation |
Convert color name to hexidecimal code
col2hex(cname)
cname |
Character. Name of an HTML color. |
Pulled from the gplots
package. This version allows for compatibility with older versions of R.
A hexidecimal color code for the provided color name.
col2hex("white")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.