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

Generate illustrations of how palettes would look under colorblindness #63

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jansim
Copy link

@jansim jansim commented Aug 15, 2024

This PR generates a preview of how any given color palette would look under different forms of color blindness.

The code to do this takes heavy inspiration from the colorblindr package, but only adds a depdency for the colorspace package to convert the colors.

This is how the extra plot looks:

Screenshot 2024-08-15 at 17 05 18

I didn't re-render the palettes for this PR to keep it small, but did so on my own fork of the repo, see e.g. https://simson.io/r-color-palettes/discrete/DresdenColor/paired/.

Not the same as, but related to #47.

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

Successfully merging this pull request may close these issues.

1 participant