col2hex | R Documentation |
convert color name to hex character string
col2hex(cname, alpha = 1)
cname |
one or more color names, e.g. "red" |
alpha |
the value of the alpha channel, ranging from 0 to 1 (default is 1) |
a vector of hex color values, one per color name
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.