Skip to contents

Colour vectors and colour palettes

pal_colour() is_colour() as_colour()
Colour vectors
pal_palette() is_palette() as_palette()
Colour palettes
as_tibble(<palettes_colour>) as_tibble(<palettes_palette>)
Cast colour vectors and colour palettes to tibbles
plot(<palettes_colour>) plot(<palettes_palette>)
Plot colour vectors and colour palettes

Colour mapping and colour scales

Colour interpolation and colour mixing

Colour vector and colour palette interpolation
Mix colour vectors with arithmetic operators
sum(<palettes_colour>) cumsum(<palettes_colour>)
Mix colour vectors with math functions

Included palettes

met_palettes met_palettes_a11y
Metropolitan Museum of Art palettes
Nord palettes
Pacific Northwest palettes
Viridis palettes