A 256-color palette as it would appear with normal vision, and with two types of red-green color blindness: protanopia and deuteronopia. Furthermore, a color palette for a type of green-blue color blindness (tritanopia) is available.
dalton A 256 x 3 x 4 array. The columns index the red, green and blue color
values, the layers index the vision type.
dalton.colors: A list of colors, with names
dalton array lists a grid of 256 colors in RGB coordinates for
"normal" vision as well as corresponding RGB coordinates in which
certain red-green (
"protan") or green-blue
"tritan") are collapsed.
The formulas for mapping the RGB coordinates to the collapsed coordinates have been developed in a series of papers by Brettel, Mollon, and Viénot. The protan/deutan mapping is provided in Table 2 of Viénot et al. (1999) while the tritan case is discussed in Brettel at al. (1997).
dalton.colors list contains the sRGB colors (as R color strings)
as computed with
For an automatic mapping of a given color vector to its dichromatic
The data were kindly provided by Françoise Viénot.
The deutan/protan data (rounded to integers) is also available in Table 2 of Viénot et al. (1999). See also http://tsi.enst.fr/~brettel/CRA24/table2.html.
Brettel H, Viénot F, Mollon, JD (1997). Computerized Simulation of Color Appearance for Dichromats. Journal of the Optical Society of America A, 14, 2647–2655.
Viénot F, Brettel H, Ott L, M'Barek AB, Mollon JD (1995). What Do Colour-Blind People See? Nature, 376, 127–128.
Viénot F, Brettel H, Mollon JD (1999). Digital Video Colourmaps for Checking the Legibility of Displays by Dichromats. Color Research and Application, 24(4), 243–252.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.