Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour-blindness #1

Closed
GiladAmar opened this issue Aug 5, 2022 · 1 comment
Closed

Colour-blindness #1

GiladAmar opened this issue Aug 5, 2022 · 1 comment

Comments

@GiladAmar
Copy link

Do you have any suggestions as to which palette is more friendly with color-bind folk?
Love the look myself, nor am I colour-blind, but thought this might be a handy addition for others.

Nice work:-)

@nealmckee
Copy link
Owner

The issue with CVD is that if I recall correctly, people who are affected can in the most extreme case only readily distinguish no more than 7 different colours (using chroma and hue, so including greys). This makes it vital to also use luminance and overall very hard to find enough sufficiently distinct colours at all.

I’m also working on a mathematically optimised palette for CVD that might arguably also be optimal for syntax highlighting but that might take a while.

Until then, there are a lot of hand-picked/manually optimized versions out there:
From data visualisations there are Okabe-Ito (https://www.nature.com/articles/nmeth.1618) and Paul Tol’s palettes (https://personal.sron.nl/~pault/).
For VSCode, simply put “color blind” in the extension search and there are a couple of options straight away.

@nealmckee nealmckee mentioned this issue Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants