Simulating 8 Types of Color Blindness in the Browser With 3×3 Matrices Protanopia, deuteranopia, tritanopia — all three are 3×3 matrix multiplications in linear RGB space. Once you have the matrices and handle the sRGB gamma correctly, simulating color vision deficiency is a pixel-by-pixel transform. This tool runs it live on any image you drop in, plus a WCAG contrast checker on the side. Col

Simulating 8 Types of Color Blindness in the Browser With 3 3 Matrices
SEN LLC·Dev.to··1 min read
D
Continue reading on Dev.to
This article was sourced from Dev.to's RSS feed. Visit the original for the complete story.