fade_color | R Documentation |
Fade colors by reducing Value in HSV space
fade_color(color_vec, deval_frac = 0.5, val_floor = 0.1)
color_vec |
a vector of hex or R colors |
deval_frac |
numeric (0 to 1) - the amount to subtract from Value in HSV |
val_floor |
numeric (0 to 1) - a minimum Value to retain for each color |
a character vector of faded hex colors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.