I have been working on a color palette for stvid that works with various conditions of colorblindness.

I used this website to test the images:

https://asada.website/webCVS/

The colors I am limited to is the Matplotlib "named colors".

#ColorBlind #stvid

Chromatic Vision Simulator

Matplotlib named colors with Protanopia simulated colors.

#Protanopia

Matplotlib named colors with Deuteranopia simulated colors.

#Deuteranopia

Matplotlib named colors with Tritanopia simulated colors.

#Tritanopia

@jebba Maybe you're not limited to the named colors. Most matplotlib functions that take color names also accept 'C1' to 'C9' which refer to the standard colors picked by matplotlib charts. These colors are to some extent optimized for color blindness. Maybe worth a try.
In fact, reading the docs, I don't see why hex strings shouldn't work as color specification (assuming the config is passed to matplotlib).
https://matplotlib.org/2.0.2/users/colors.html
Specifying Colors — Matplotlib 2.0.2 documentation

@tammojan

Hi, thanks for the feedback.

The C1 - C9 is what default stvid is using. I did try a version where I patched fourframe.py to use the matplotlib tableau-10 colorblind palette, but it wasn't really good in this case.

I tried the hex colors, which I really wanted to use, but using them, trying different quoting, didn't work in stvid's configuration.ini, so that would have required patching the application somewhere.

The same was true for the Matplotlib xkcd: colors as for hex colors.