colorblind.friendly: Colorblind-Friendly Palette Check

View source: R/PaletteCode.R

colorblind.friendlyR 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: Archambault, Austria, Benedictus, Cassatt1, Cassatt2, Cross, Degas, Demuth, Derain, Egypt, Gauguin, Greek, Hiroshige, Hokusai1, Hokusai2, Hokusai3, Homer1, Homer2, Ingres, Isfahan1, Isfahan2, Java, Johnson,Juarez, Kandinsky, Klimt, Lakota, Manet, Monet, Moreau, Morgenstern, Nattier, Navajo, NewKingdom, Nizami, OKeeffe1, OKeeffe2, Paquin, Peru1, Peru2, Pillement, Pissaro, Redon, Renoir, Signac, Tam, Tara, Thomas, Tiepolo, Troy, Tsimshian, VanGogh1, VanGogh2, VanGogh3, Veronese, and Wissing

Value

TRUE/FALSE value whether palette is colorblind-friendly

Examples

colorblind.friendly("Veronese")

MetBrewer documentation built on March 21, 2022, 5:07 p.m.