I like that this uses OKLab instead of hsv/HSL that some colormaps use (which are not based on color theory).
It would be nice if this used the upcoming WCAG3 contrast algorithm https://www.myndex.com/APCA/ and ensured it's minimum contrast meets the recommended values there for body text, etc.
There is a tool that can assist in designing color maps taking APCA into account https://huetone.ardov.me/
It would be nice if this used the upcoming WCAG3 contrast algorithm https://www.myndex.com/APCA/ and ensured it's minimum contrast meets the recommended values there for body text, etc.
There is a tool that can assist in designing color maps taking APCA into account https://huetone.ardov.me/
For perceptually uniform colormaps see also https://colorcet.com/