Description Usage Arguments Value Note Author(s) References
Specify a colour by name, and alter the density without having to convert to RGB.
1 |
col |
character. Name of colour. |
den |
numeric. Density range from 0 (transparent) to 255 (opaque). |
A colour hex code, for use in plotting etc.
col can have length greater than 1, and the function will output a character of the same length.
Will Haese-Hill
For a list of named colours recognised by R, see: http://www.stat.columbia.edu/~tzheng/files/Rcolor.pdf.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.