Hey hive mind,

What's the best set of color palettes for being color vision deficiency-friendly AND gray scale-friendly?

Viridis?? 👉 https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html Something else?

@allbriteallday

I tend to use colors derived from the color-blind palettes at https://colorbrewer2.org, and also the Okabe-Ito set. Since ~2019, the default color palette for base R, is based on Okabe-Ito (IIRC).

There are tools (e.g. web browser extensions), that simulate colorblindness, so it is easy to see the effect of a color selection.

I have a moderate degree of #Deuteranomaly (red-green), that is why this topic interests me. :-)

#Rstats #ColorBlind #color #palettes #accessibility

ColorBrewer: Color Advice for Maps

@jmcastagnetto @allbriteallday colorblindr::cvd_grid() is great for checking if plots are cvd friendly - quicker than a web app

@jmcastagnetto

Thanks!

I often use this color vision deficiency-friendly palette in graphs but I just printed out a paper in B&W and OOF my choices don't work well in B&W.

So I'm pondering if I should amend my practices so my plots look better in B/W but still are CVD-friendly.

@jmcastagnetto @allbriteallday picking colours is upper hard. To help visualise a set of colours in place I made {plotcolr} https://github.com/thedatacollective/plotcolr at the moment it doesn’t show grayscale though ☹️
GitHub - thedatacollective/plotcolr

Contribute to thedatacollective/plotcolr development by creating an account on GitHub.

GitHub
@allbriteallday
You might be interested in the palettes based on scientific color-maps in package scico, although they may be a little more "continuous" than what you are looking for. 😊