Colorblind: Checking figure accessibility for colour blind people

Hacker News Top Tools

Summary

A blog post introduces a free ImageJ macro script that simulates 8 types of color blindness, helping researchers check and improve figure accessibility before publication.

No content available
Original Article
View Cached Full Text

Cached at: 07/27/26, 10:47 PM

# Checking figure accessibility for colour blind people – quantixed Source: [https://quantixed.org/2022/05/19/colorblind-checking-figure-accessibility-for-colour-blind-people/](https://quantixed.org/2022/05/19/colorblind-checking-figure-accessibility-for-colour-blind-people/) When preparing images for publication, it is good practice to check how accessible they are for[colour blind](https://en.wikipedia.org/wiki/Color_blindness)people\. Using a simple bit of[code](https://github.com/quantixed/imagej-macros/blob/master/scripts/LabCode/Figure%20Utils/Check_Colour_Blindness.ijm), it is possible to check an image – or a whole figure – in ImageJ for accessibility\. For example, Figure 1 from our recent[paper](https://doi.org/10.1083/jcb.202203021)\. Originally looked like this: ![](https://quantixed.org/wp-content/uploads/2022/05/Exclusion_Zone_I_Orig-1024x449.png)Figure 1 Ferrandiz et al\. Creative Commons License \(Attribution 4\.0 International\)Using the script we can see how it appears to people with different types of colour blindness\. ![](https://quantixed.org/wp-content/uploads/2022/05/Exclusion_Zone_I_Orig_cb-1024x453.png)8 kinds of colour blindness are simulated in ImageJFrom this, we could see that panels A and C were problematic for folks with Protanopia and Deuteranopia\. Panel D was also an issue but this was a still from a video that was difficult to edit\. Some explanation and personal opinion here\. The solution is not as simple as banning red/green overlays\. Red/green overlays are very effective for most people to look at colocalisation and, with multiple channels, there are not many options\. Our strategy is to show the separated channels in grayscale so that everyone can see the individual channels, even if they cannot distinguish the overlay\. However, for C we had not done this at all and for A, it was limited\. We also did not want to change the layout of the figure extensively\. Here is our solution: ![](https://quantixed.org/wp-content/uploads/2022/05/Exclusion_Zone_I-1024x449.png)Reworked Figure 1 Ferrandiz et al\. Creative Commons License \(Attribution 4\.0 International\)And now checking it again with the script: ![](https://quantixed.org/wp-content/uploads/2022/05/Exclusion_Zone_I_cb-1024x453.png)Panel D is now clearer for all kinds of colour blindness\. Panel A is also OK \(in my opinion\), the DNA is not clear in the overlay for some colour blindness types, but now the separate channel is provided\. The tubulin is well contrasted in the overlay so the merge did not need to change\. Feel free to try it out\. I will probably add it to the quantixed update site in Fiji soon\. ## Further notes - In putting together this post I realised there was a typo in this figure\. Luckily the wonderful folks at JCB corrected it before publication\. - The bulk of the code came from Henrik Persson, whose macro I found online - I’d welcome any feedback from people with colour blindness — The post title comes from “Colorblind” by Super Furry Animals, a B\-side to their Do Or Die single\. ## Post navigation

Similar Articles

The accessible contrast ratio colour grid thing

Lobsters Hottest

This blog post introduces a side-project tool that generates a grid comparing color contrast ratios for multiple colors at once, helping designers and developers quickly check WCAG accessibility compliance.

Area Contrast Checker

Product Hunt

Area Contrast Checker is a tool that helps check accessibility contrast by dragging, selecting, and knowing the contrast ratios.

Algorithmic Theming Engines

Hacker News Top

The article introduces the new CSS `contrast-color()` function, which allows developers to automatically choose black or white text for accessible contrast against any background color, addressing the persistent issue of low contrast on the web without relying on JavaScript.