dimColor | R Documentation |
This function calls first col2rgb
on a color name and then
uses rgb
to adjust the intensity of the result.
dimColor(col, density = 55)
col |
Color name or number passed to |
density |
Integer value passed as alpha coefficient to
|
A character vector with the color code. See rgb
for details.
Thomas A. Gerds <tag@biostat.ku.dk>
rgb col2rgb
dimColor(2,33)
dimColor("green",133)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.