sharkdp / pastel

A command-line tool to generate, analyze, convert and manipulate colors
Apache License 2.0
4.98k stars 97 forks source link

Most similar colors option #145

Closed BelkaDev closed 2 years ago

BelkaDev commented 2 years ago

Hi, there don't seem to be an option to get the most similar colors as an option, something like pastel similar <color> but it shows in the color info image pastel color red | grep tomato doesn't work either How can I fetch these values?

sharkdp commented 2 years ago

Hm, if you want all of these names - that's not possible at the moment. What you can do is to use pastel format name <color> which will look up a close-by color name. This is equivalent to the first entry in the list... unless you start with something like red/#ff0000 - where it will (obviously) show "red", not "orangered".