Description Usage Arguments Value Author(s) See Also
View source: R/colorChangeDarkness.R
Function to yield darker or brighter variants of the same color by mixing this color with white or black
1 |
col |
color to change. Can be a R color name or a hexadecimal color specification |
factor |
decimal factor to darken/brighten the color with. Values < 1 lead to darker colors, values > 1 to brighter colors. |
hexadecimal code for the new color.
Jannis v. Buttlar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.