Skip to content

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