Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "sample" subcommand and predefined color scales? #63

Open
sharkdp opened this issue Aug 14, 2019 · 0 comments
Open

Add "sample" subcommand and predefined color scales? #63

sharkdp opened this issue Aug 14, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@sharkdp
Copy link
Owner

sharkdp commented Aug 14, 2019

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.

Basically, pastel gradient red blue ~ pastel sample redToBlue 0.0; pastel sample redToBlue 0.1; ....

See: http://sharkdp.github.io/purescript-colors/#scale

@sharkdp sharkdp added the enhancement New feature or request label Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant