View source: R/bde_tidy_palettes.R
bde_tidy_palettes | R Documentation |
Custom palettes based on the publications of BdE. These are manual palettes with a maximum of 6 colors.
bde_tidy_palettes(
n = 6,
palette = c("bde_vivid_pal", "bde_rose_pal", "bde_qual_pal"),
alpha = NULL,
rev = FALSE
)
n |
The number of colors ( |
palette |
A valid palette name. |
alpha |
An alpha-transparency level in the range |
rev |
Logical indicating whether the ordering of the colors should be reversed. |
A vector of colors.
Other bde_plot:
scales_bde
,
theme_tidybde()
# BdE vivid pal
scales::show_col(bde_tidy_palettes(palette = "bde_vivid_pal"),
labels = FALSE
)
# BdE rose pal
scales::show_col(bde_tidy_palettes(palette = "bde_rose_pal"), labels = FALSE)
# BdE qual pal
scales::show_col(bde_tidy_palettes(palette = "bde_qual_pal"), labels = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.