bde_tidy_palettes {tidyBdE} | R Documentation |
BdE color palettes
Description
Custom palettes based on the publications of BdE. These are manual palettes with a maximum of 6 colors.
Usage
bde_tidy_palettes(
n = 6,
palette = c("bde_vivid_pal", "bde_rose_pal", "bde_qual_pal"),
alpha = NULL,
rev = FALSE
)
Arguments
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. |
Value
A vector of colors.
See Also
Other bde_plot:
scales_bde
,
theme_tidybde()
Examples
# 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)
[Package tidyBdE version 0.3.6 Index]