sjmgarnier / viridis

Colorblind-Friendly Color Maps for R
http://sjmgarnier.github.io/viridis
Other
286 stars 38 forks source link

Suggestion: 'traffic' color ramp #68

Open ThierryO opened 3 years ago

ThierryO commented 3 years ago

I've created a color ramp from dark red over medium orange to light green. Inspired by traffic lights, hence the name. I think it should work for color blind people and grayscale print. Below is a ten color palette. The plot shows each color multiple times in an arrangement that places each color next to every other color. This makes it easier to see how easy one can distinguish a pair of colors.

I'm willing to write a PR.

image

Simulated deutan model image

Simulated protan model image

Simulated tritan model image

desaturated image