pastel
A command-line tool to generate, analyze, convert and manipulate color
...To get more information about a specific subcommand (say mix), you can call pastel mix -h or pastel help mix. Many pastel commands can be composed by piping the output of one command to another. You can also explicitly specify which colors you want to read from the input.