Open sharkdp opened 5 years ago
This could be incredible useful for shell scripts that want easy access to perceptually uniform color scales.
pastel sample viridis 0.34 pastel sample blueToRed 0.2
Note: this would be quite similar to pastel mix blue red -f ... and also pastel gradient blue red. We should try to come up with a consistent API.
pastel mix blue red -f ...
pastel gradient blue red
Basically, pastel gradient red blue ~ pastel sample redToBlue 0.0; pastel sample redToBlue 0.1; ....
pastel gradient red blue
pastel sample redToBlue 0.0; pastel sample redToBlue 0.1; ...
See: http://sharkdp.github.io/purescript-colors/#scale
This could be incredible useful for shell scripts that want easy access to perceptually uniform color scales.
Note: this would be quite similar to
pastel mix blue red -f ...
and alsopastel gradient blue red
. We should try to come up with a consistent API.Basically,
pastel gradient red blue
~pastel sample redToBlue 0.0; pastel sample redToBlue 0.1; ...
.See: http://sharkdp.github.io/purescript-colors/#scale