Learn R Programming

dichromat (version 1.1)

dalton: Effects of daltonism (red-green color blindness)

Description

A 256-color palette as it would appear with normal vision, and with two types of red-green colorblindness: protanopia and deuteronopia.

Usage

data(dalton)
data(dalton.colors)

Arguments

format

dalton{ A 256x3x3 array. The columns index the red, green and blue color values, the layers index the vision type.} dalton.colors{A data frame of colors, with column names normal, protan, deutan.}

source

http://tsi.enst.fr/~brettel/CRA24/table2.html

References

F. Vi�not, H. Brettel and J. D. Mollon (1999) Digital video colourmaps for checking the legibility of displays by dichromats. Color Research and Application 24, 243-252.

Examples

Run this code
data(dalton)
 par(mfrow=c(3,1))
 image(matrix(1:256,128),col=dalton.colors$deutan)
 image(matrix(1:256,128),col=dalton.colors$protan)
 image(matrix(1:256,128),col=dalton.colors$normal)

Run the code above in your browser using DataLab