2025-03-14 21:59:59 -06:00
|
|
|
# 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`
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
- Generate a set of `n` visually distinct colors:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`pastel distinct {{n}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List all X11/CSS color names:
|
|
|
|
|
|
|
|
|
|
`pastel list`
|