3 ms·
I would recommend looking into Tol-palettes. Some of these are optimized for color-blindness. I use them regularly and have small utility functions to generate
by raxxorrax 8y ago
I would recommend looking into Tol-palettes. Some of these are optimized for color-blindness. I use them regularly and have small utility functions to generate some palettes for n-different colors. That way you have a maximized contrast and I think the palettes look aesthetically pleasing.
Also interesting: If you want to optimize text for readability on colored background, you should always choose black or white. Not an inverted color or anything. The threshold for choosing either is actually a bit dependent on the device the text is displayed on, but there are some rules that work decently for the general case.
Here are some examples:
https://www.r-bloggers.com/tol-color-schemes/ https://www.r-bloggers.com/tol-color-schemes/
I think the 'sunset'-palette is a good choice for color blindness, but you should ask someone who is affected if that is a good choice.