mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
576 B
Plaintext
30 lines
576 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pastel
|
|
|
|
> Generate, analyze, convert, and manipulate colors.
|
|
> More information: <https://manned.org/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 {{n}}`
|
|
|
|
- List all X11/CSS color names:
|
|
|
|
`pastel list`
|