{"repo":"sharkdp/pastel","free":true,"listed":false,"github":"https://github.com/sharkdp/pastel","clone":"git clone https://github.com/sharkdp/pastel.git","description":"A command-line tool to generate, analyze, convert and manipulate colors","language":"Rust","stars":6455,"topics":["command-line","tool","terminal","cli","colors","color-space","color-converter","rust"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"pastel pastel is a command-line tool to generate, analyze, convert and manipulate colors. It supports many different color formats and color spaces like RGB (sRGB), HSL, CIELAB, CIELCh as well as ANSI 8-bit and 24-bit representations. In action Tutorial Getting help pastel provides a number of commands like saturate , mix or paint . To see a complete list, you can simply run To get more information about a specific subcommand (say mix ), you can call pastel mix -h or pastel help mix . Composition Many pastel commands can be composed by piping the output of one command to another, for example: Specifying colors Colors can be specified in many different formats: Colors can be passed as positional arguments, for example: They can also be read from standard input. So this is equivalent: You can also explicitly specify which colors you want to read from the input. For example, this mixes red (which is read from STDIN) with blue (which is passed on the command line): Use cases and demo Converting colors from one format to another Show and analyze colors on the terminal Pick a color from somewhere on the screen Generate a set of N visually distinct colors Get a list of all X11 / CSS color names Name a given color Print colorized text from a shell script Installation On Debian-based systems You can download the latest Debian package from the release page and install it via dpkg : Alternatively, pastel is available in the official Debian repositories (currently in testing and unstable","default_branch":null,"files":null,"tree":[],"storefront":"/r/sharkdp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sharkdp/pastel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}