daattali / daattali/colourpicker

Add colorblindness simulator to colourPicker

Open
#55 3 comments 1 reaction 0 assignees View on GitHub
help wanted
Dominant language
JavaScript
Stars
227
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thanks for the great package – it spares me the time it takes to constantly look up R native colors and compare them with trial and error!

One thing that I see missing is a color vision deficiency simulator (like @clairemcwhite and @clauswilke's `colorblindr` [package](https://github.com/clauswilke/colorblindr)). Currently, I save my chosen color palette in a png file and use online tools ([like this](http://hclwizard.org:3000/cvdemulator/)) to check whether my palette is print- and colorblind-friendly.

It would be great if you could add (three) more rows underneath the selected colors that would show how it is seen by people with protanomaly (2% of males), deuteranomaly (6% of males), tritanomaly, and desaturated (that would simulate grayscale printing) vision deficiency. Here's what I mean (poorly made in Paint 😄):

![image](https://user-images.githubusercontent.com/8527082/209476162-45191f6b-7802-46af-8a23-46b468276c6f.png)

In case it feels like too much information overload and only one should be chosen, I believe the desaturated one (grayscale) is the most relevant since it is black-and-white print-safe and also safe for all other types of color vision deficiencies.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.