Description Usage Arguments Value Author(s) See Also Examples
View source: R/lighten_color.R
Get a slightly brighter color
1 | lighten_color(color, extent = 100, preset = c(black = "transparent"))
|
color |
a vector of color in any of the three available color types,
such as a color name, |
extent |
the extent of lightening of color, where max value is 255. |
preset |
previously selected conversion, which is given as a named
vector. The default, |
a vector of lightened color in RGB format
Mun-Gwan Hong, mungwan@gmail.com
1 | lighten_color(c("green4", 8, 1, "black", "#6464FF", "blue"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.