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

Sequential palette evaluations #158

Open
1 of 2 tasks
mcstone opened this issue Oct 20, 2024 · 2 comments
Open
1 of 2 tasks

Sequential palette evaluations #158

mcstone opened this issue Oct 20, 2024 · 2 comments

Comments

@mcstone
Copy link
Collaborator

mcstone commented Oct 20, 2024

Created the following sequential palette: #008696, #0d9797, #42a799, #65b69c, #86c5a1, #a5d4a9, #c4e2b4, #e2f1c2, #ffffd4

  • It fails color name discriminability (of course). Arguably, this should only be tested for categorical palettes
  • It fails all the CVD tests, which are designed for categorical palettes. But for a sequential palette, it's actually fine. Diverging palettes, however, could fail a CVD test (details on demand)
@mcnuttandrew
Copy link
Owner

This seems to suggest that there should probably be some type of CVD test for sequential, but different than the one we currently have. Do you have any suggestions?

@mcstone
Copy link
Collaborator Author

mcstone commented Oct 20, 2024

I'm not sure if there needs to be a CVD test for sequentials per se, as it's really only the lightness steps that matter. For a diverging palette, however, there should be a test that tells you a red-green palette is a problem, but blue-orange isn't. I don't have an algorithm all worked out, but it's roughly this: First, check the endpoint colors. Then step your way towards the center, checking colors of similar luminance to see if they are distinguishable. This assumes the diverging map has the same number of steps on each side of the middle, which have roughly the same luminance.

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