make_shades | R Documentation |
n
lighter or darker shadesMake shades
Given a color make n
lighter or darker shades
make_shades(color, n, lighter = TRUE)
color |
The color to make shades of |
n |
The number of shades to make |
lighter |
Whether to make lighter ( |
A vector of n
color hex codes
# Five lighter shades
make_shades("goldenrod", 5)
# Five darker shades
make_shades("goldenrod", 5, lighter = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.