daattali/colourpicker

Add colorblindness simulator to colourPicker

Open

#55 创建于 2022年12月25日

在 GitHub 查看
 (3 评论) (1 反应) (0 负责人)JavaScript (26 fork)github user discovery
help wanted

仓库指标

Star
 (227 star)
PR 合并指标
 (PR 指标待抓取)

描述

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). Currently, I save my chosen color palette in a png file and use online tools (like this) 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

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.

贡献者指南