absolllute / Mega-Hack-Pro-Future

Mega Hack Pro Suggestion & Issue Tracker
41 stars 5 forks source link

Cubehelix Colour Palette #633

Open Brittank88 opened 2 years ago

Brittank88 commented 2 years ago

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:

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.

Brittank88 commented 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)

absoIute commented 2 years ago

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

Brittank88 commented 2 years ago

@All-Contributors please add @absoIute for a11y.

allcontributors[bot] commented 2 years ago

@Brittank88

I've put up a pull request to add @absoIute! :tada:

Brittank88 commented 2 years ago

@All-Contributors please add @Brittank88 for a11y.

allcontributors[bot] commented 2 years ago

@Brittank88

I've put up a pull request to add @Brittank88! :tada: