Open Brittank88 opened 2 years ago
There is a header-only colour maps listing (including Cubehelix) available here: https://github.com/yuki-koyama/tinycolormap (Honestly it would be cool if RGB mode could be configured to cycle through any of these spectrums)
Definitely something I'd look into, been wanting to colour blindness filters to MH for a bit and this would be a step in the right direction, could easily just add this under RGB
@All-Contributors please add @absoIute for a11y.
@Brittank88
I've put up a pull request to add @absoIute! :tada:
@All-Contributors please add @Brittank88 for a11y.
@Brittank88
I've put up a pull request to add @Brittank88! :tada:
See: https://bl.ocks.org/mbostock/310c99e53880faec2434 (You may have to click "Hide this message") https://jiffyclub.github.io/palettable/cubehelix/ https://ifweassume.blogspot.com/2013/05/cubehelix-or-how-i-learned-to-love.html
Effectively, Cubehelix is an improved colour palette that is:
Prettier, honestly:
Friendly for colourblind users! Example:
(See how it looks relatively similar as a colour scale for each type of colour blindness?)
Also is friendlier for monitors that may have saturation issues (one of the main positives of Cubehelix is how it desaturates "correctly" and so if you ever had scientific data that was then printed in black and white, you'd still be able to distinguish data points appropriately).
I feel like there's room to integrate this into MHv7 to make it a little more accessible - maybe have a mode that remaps the colour range MHv7 uses over to the Cubehelix range?
I'm not sure, this is more of a discussion thread for how this might be used because it's something really cool IMO.