pal.safe: Show a palette/colormap for black/white and colorblind safety
Description
A single palette/colormap is shown
(1) without any modifications
(2) in black-and-white as if photocopied
(3) as seen by deutan color-blind
(4) as seen by protan color-blind
(5) as seen by tritan color-blind
Usage
pal.safe(pal, n = 100, main = NULL)
Arguments
pal
A palette function or a vector of colors.
n
The number of colors to display for palette functions.
main
Title to display at the top of the test image
Value
None.
Details
Rates of colorblindness in women are low, but in men the rates are
around 3 to 7 percent, depending on the race.
What to look for:
1. Are colors still unique when viewed in less-than full color?