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 (
>= 1
) to be in the palette.- palette
A valid palette name.
- alpha
An alpha-transparency level in the range
[0,1]
(0
means transparent and1
means opaque). A missing, i.e.,alpha = NULL
, does not add opacity codes ("FF"
) to the individual color hex codes. Seeggplot2::alpha()
.- rev
Logical indicating whether the ordering of the colors should be reversed.
See also
Other bde_plot:
scales_bde
,
theme_tidybde()