viridis_palettes {palettes} | R Documentation |
Viridis palettes
Description
Colourblind accessible palettes that are perceptually uniform in both colour and black-and-white.
Usage
viridis_palettes
Format
viridis_palettes
An object of class palettes_palette
with 8
colour palettes. All colours in each palette are distinguishable with
deuteranopia, protanopia, and tritanopia. Use names(viridis_palettes)
to
return all palette names.
Author(s)
Source
https://github.com/sjmgarnier/viridisLite
See Also
pal_palette()
, pal_colour()
, viridisLite::viridis()
Examples
# Get all palettes by name.
names(viridis_palettes)
# Plot all palettes.
plot(viridis_palettes, n = 256)
[Package palettes version 0.2.1 Index]