View source: R/NatParksPalettes.R
colorblind.friendly | R Documentation |
Checks whether a palette is colorblind-friendly. Colorblind-friendliness tested using the 'colorblindcheck' package. To be colorblind-friendly, all colors in the palettes must be distinguishable with deuteranopia, protanopia, and tritanopia.
colorblind.friendly(palette_name)
palette_name |
Name of Palette. Choices are:
|
TRUE/FALSE value whether palette is colorblind-friendly
colorblind.friendly("DeathValley")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.