Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.


Simulate different kinds of color-blindness on images directly in your webbrowser. All the processing is done locally and the images do not leave your computer.

Try it here

About this project

This project is inspired by Coblis - the Color BLIndness Simulator. But instead of uploading the images to a server it does all the image processing locally in your webbrowser.

You can choose between 4 different Simulation Algorithms (The first two are not proven to produce good or realistic results!):

The ColorMatrix Algorithm

From (web.archive).

But there is this comment which claims to be from the author:

You're right, the ColorMatrix version is very simplified, and not accurate. I created that color matrix one night ( and since then it's shown up many places... I should probably take that page down before it spreads more! Anyways, it gives you an idea of what it might look like, but for the real thing...

As far as a simple script to simulate color blindness, this one does the best job: — It uses "confusion lines" within the XYZ color space to calculate values (this one is in Javascript, and should be easy to convert to python).

There are a few other methods, and no one really knows exactly what it would look like... these are all generalizations of a small sample, set against the masses.

The HCIRN Color Blind Simulation function

From (web.archive).

The Color Blind Simulation function is
copyright (c) 2000-2001 by Matthew Wickline and the
Human-Computer Interaction Resource Network ( ).

It is used with the permission of Matthew Wickline and HCIRN,
and is freely available for non-commercial use. For commercial use, please
contact the Human-Computer Interaction Resource Network ( ).
The Brettel, Viénot and Mollon Simulation function

This is an implementation of the research paper Computerized simulation of color appearance for dichromats by Brettel, H., Viénot, F., & Mollon, J. D. (1997). It has been adapted to modern sRGB monitors and should be pretty accurate, at least for full dichromacy. Of course it is still an approximation though, many factors make it imperfect, such as uncalibrated monitor, unknown lighting environment, and per-individual variations. In general it will tend to be accurate for small or thin objects (small dots, lines) and too strong for large bright areas, even for full dichromats.

Gustavo M. Machado, Manuel M. Oliveira, and Leandro A. F. Fernandes

Uses the matrizes published on from the paper

Gustavo M. Machado, Manuel M. Oliveira, and Leandro A. F. Fernandes "A Physiologically-based Model for Simulation of Color Vision Deficiency". IEEE Transactions on Visualization and Computer Graphics. Volume 15 (2009), Number 6, November/December 2009. pp. 1291-1298.


Simulate different kinds of colorblindness on images in your browser.







No releases published


No packages published