Simulate color blindness/defects?

Bug #790534 reported by Antonio Roberts on 2011-05-31
This bug affects 3 people
Affects Status Importance Assigned to Milestone

Bug Description

When picking a color it would be very useful to know which colors may not display properly for those with color blindness/defects. More information on what types there are can be found here

Additionally, for ideas of how this might be implemented take a look at this website (under the Colorblind tab) and at Scribus (I use 1.5)

Scribus documentation:
<> (old version?)
<> (Scribus 1.4)

su_v (suv-lp) wrote :

Existing solutions and proposals for Inkscape:

a) Script extension:
Inkscape - Color Blindness Extension |

b) SVG filter effects:
Color Blindness filters - OpenClipArt:

c) Display filters
Blueprint "Display filters"

d) New color tool
Blueprint "A Colorscheme designer for the Inkscape palette"
Bug #641403 “Import Agave into the Inkscape GUI”

Changed in inkscape:
importance: Undecided → Wishlist
tags: added: color ui
description: updated
description: updated

Making a tool or extension which would let you simulate different levels of colorblindness would be ideal, especially for the thousands of us scientists which use inkscape, since conveying properly messages through color-coded graphics is essential to sceintific production

jazzynico (jazzynico) wrote :

We already have too many extensions IMHO, and an SVG filters version looks more promising. If it's only a matter of colormatrix values, it could be relatively easy to implement.

Changed in inkscape:
assignee: nobody → jazzynico (jazzynico)
milestone: none → 0.92
status: New → Triaged
jazzynico (jazzynico) wrote :

Patch attached. Tested on Windows XP with Inkscape trunk rev. 13979.

Changed in inkscape:
status: Triaged → In Progress
jazzynico (jazzynico) wrote :
jazzynico (jazzynico) wrote :
jazzynico (jazzynico) wrote :

Some comments:

> a) Script extension

Unfortunately, the extension is based on a code that might not be compatible with the GPLv2 license:
The used Color Blind Simulation algorithm is copyright (c) 2000-2001 by Matthew Wickline ( ) and the Human-Computer Interaction Resource Network ( ). For commercial licenses [of the original JavaScript code or derivative works thereof], please contact the Human-Computer Interaction Resource Network ( ).

> b) SVG filter effects

The attached patch uses the filters as defined in the SVG file. No license issue here (openclipart), seems faster than the Python extension, but the result it not as accurate (everything is calculated in the RGB colorspace).

Comments are very welcome.

Kris (kris-degussem) wrote :

Just a quick comment: (as a non color blind person) try to replicate the topmost figure on

(the figure caption says: bottom left: how a "red-colourblind" person sees the picture; bottom right: how a "green-colourblind" person sees the picture )

su_v (suv-lp) wrote :

Attaching fixed version of patch (original one doesn't apply) as convenience for other testers.

su_v (suv-lp) wrote :

Could inkscape use a tighter filter effects region FER (100% instead of 120% (default if not specified)) for such color effects?

jazzynico (jazzynico) wrote :

> Attaching fixed version of patch

Thanks! I had to hand-edit the file and completely failed my copy-paste...

> Could inkscape use a tighter filter effects region FER

Of course yes.

jazzynico (jazzynico) wrote :

Feature added in the trunk, revision 13984.
Please test!

Changed in inkscape:
status: In Progress → Fix Committed
jazzynico (jazzynico) wrote :

Hishihara plates. Should help testing.

Bryce Harrington (bryce) on 2017-01-10
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints