colorblind.friendly {NatParksPalettes}R Documentation

Colorblind-Friendly Palette Check

Description

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.

Usage

colorblind.friendly(palette_name)

Arguments

palette_name

Name of Palette. Choices are: Acadia, Arches, Arches2, Banff, Bryce Canyon, CapitolReef, Charmonix, Cuyahoga, DeathValley, Denali, Everglades, Glacier, GrandCanyon, Halekala, IguazuFalls, KingsCanyon, LakeNakuru, Olympic, Redwood, RockyMtn, Saguaro, SmokyMtns, SouthDowns, Torres, Triglav, WindCave, Volcanoes, Yellowstone, and Yosemite.

Value

TRUE/FALSE value whether palette is colorblind-friendly

Examples

colorblind.friendly("DeathValley")

[Package NatParksPalettes version 0.2.0 Index]