-
Notifications
You must be signed in to change notification settings - Fork 23
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
Colorblindness Accessibility #11
Comments
Have you seen Color Brewer? Some of their schemes are colorblind and/or photocopier friendly and some offer up to twelve different colors. |
Good to know, thanks! Unless I'm missing something, their colorblind-friendly color schemes only go up to four different colors. Probably the only workable solution would be different dashing patterns or textures rather than colors. |
The single hue schemes (blues, greens, greys, oranges, purples, reds) should be colorblind friendly and they go up to 9 different shades. Color Brewer isn't necessarily the prettiest but it is one of the most comprehensive solutions to coming up with usable color schemes. Were it up to me: schemes (colors + patterns) would be configurable with some set of defaults included (using either Colorbrewer and maybe the d3.js continuous color scheme bits). Needing more than 9 colorblind friendly classes at a time seems like a fairly niche use case that could be handled by allowing colors + patterns to be defined in the config file. |
Several users have commented that they find it difficult to tell apart the different colors used by the plots, especially in the line chart. I've already made the colors configurable, but that alone might not be enough.
Also, there are only about ~8 colors by default in cargo-criterion's set, so if there are more than 8 functions in a group it would be impossible for even people who aren't colorblind to tell them apart.
I'm not sure what to do to improve on this, but it is a known problem.
The text was updated successfully, but these errors were encountered: