mirror of https://github.com/CrimsonTome/tldr.git
25 lines
499 B
Markdown
25 lines
499 B
Markdown
|
# pastel
|
||
|
|
||
|
> Generate, analyze, convert and manipulate colors.
|
||
|
> More information: <https://github.com/sharkdp/pastel>.
|
||
|
|
||
|
- Convert colors from one format to another. Here from RGB to HSL:
|
||
|
|
||
|
`pastel format {{hsl}} {{ff8000}}`
|
||
|
|
||
|
- Show and analyze colors on the terminal:
|
||
|
|
||
|
`pastel color "{{rgb(255,50,127)}}"`
|
||
|
|
||
|
- Pick a color from somewhere on the screen:
|
||
|
|
||
|
`pastel pick`
|
||
|
|
||
|
- Generate a set of N visually distinct colors:
|
||
|
|
||
|
`pastel distinct {{8}}`
|
||
|
|
||
|
- Get a list of all X11 / CSS color names:
|
||
|
|
||
|
`pastel list`
|