Description Usage Arguments Value
View source: R/make_color_scale.R
Using a list of colors, create a gradient of a discrete number of colors.
1 | make_color_scale(palette = "viridis", gradations = 10)
|
palette |
One of the palettes in RColorBrewer, viridis, or a list of colors understood by colors() |
gradations |
The number of colors to return |
A list of hexidecimal numbers.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.