microshades_palette | R Documentation |
This function can be used to access the microshades palette desired. Each palette contains a base color paired with lighter versions of the base color.
microshades_palette(name, n, lightest = TRUE)
name |
Name of desired palette. Choices are:
|
n |
Number of colors desired. Palettes contain 5 shades If omitted, uses all colours. |
lightest |
logical, if user requests n < 5 it will reutrn n lightest shades if TRUE. If FALSE, it will return n darkest shades |
Use this function to get the values needed to set the manual color values when applying to different plots
A microshades palette of colors.
microshades_palette("micro_cvd_green")
microshades_palette("micro_orange", 3, lightest = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.