I’m creating a number of coloured grids with TikZ, which look something like this:
This exercise is designed to demonstrate reflections and rotational symmetry. It’s important that the individual colours be distinguishable, and a problem in the past has been colour blindness. Readers who are colour blind can’t distinguish the individual colours, which makes it harder to see the symmetries.
I’m using the tool Colour Oracle to test the colours against deuteranopia (green deficiency), protanopia (red deficiency) and tritanopia (blue deficiency), but I’d like to be able to output a PDF that retains these filters, without recalculating every colour by hand.
Is there a package that I can use at compile time, or a PDF tool that allows me to simulate colour blindness?
As a bonus, the ability to simulate the desaturation that comes from using a projector in a lit room would also be useful.
(If anybody is interested in the exercise the original version is a problem on the NRICH website. I’m updating it as part of my summer work.)
xcolor
(which TikZ uses under the hood). For what is worth, I'm color blind too and what I see is equal rows of 1-3 and equal columns of (1-5),(2-4).