Search Tools

Color appearance comparison with a color-vision model

Compare color coding in web design and similar uses with a color-vision model's output.

This is a mathematical appearance comparison based on published matrices. It cannot reproduce an individual's vision or be used for color-vision testing, diagnosis or accessibility compliance decisions.

Steps are discrete values from the published matrix tables. They are not personal test results or percentages of severity. Even the maximum tritan step does not reproduce tritanopia.

Each component is 0–1 in either format. Linear sRGB is re-encoded to display sRGB for the results.

Colors to compareRequired
RowRGBWeight OptionalActions
1
2

Paste 4 tab-separated columns into the leftmost field. Up to 100 rows.

R/G/B each range from 0 to 1. Rows with blank weights use a weight of 1 in the weighted mean. Check any blank rows within the entered data.

Results

Results update automatically when the required values are entered.

Report an issue

Method, applicability and sources

Calculation method

Encoded sRGB input is converted to linear RGB using the IEC 61966-2-1 transfer function; linear-sRGB input bypasses this conversion. Apply the Machado matrix M (3×3) for the selected vision type and step as raw=M×RGBlinear. Raw values retain negatives and values above 1 outside the gamut. Only display RGB is clipped componentwise to 0–1 and re-encoded to sRGB. Convert displayed original and transformed sRGB via D65/2° XYZ→CIELAB and calculate ΔE76=√((ΔL*)²+(Δa*)²+(Δb*)²). The mean is Σ(weight×ΔE76)÷Σweight, with blank weights set to 1. HEX uses each display component multiplied by 255 and rounded to the nearest integer.

Worked example (hypothetical values)

Reference example: transform encoded-sRGB red (R=1,G=0,B=0) using the protan type at step 10 to obtain raw linear RGB=(0.152286,0.114503,-0.003882). Negative B is set to 0 only for display. At step 0 the color is unchanged.

Applicability and limitations

Comparison of screen colors and palettes with known sRGB coordinates. This does not reproduce or diagnose an individual's color vision. It does not certify WCAG compliance, perform daltonization correction, convert image files or reproduce tritanopia.

Method and sources

Method: Machado (2009) / 2010 tabulated matrices, steps 0–10; sRGB D65. Data recorded: 2026-11-14.