1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 15:26:04 +02:00

pastel: add page (#3443)

This commit is contained in:
Bruno Heridet 2019-10-25 10:12:19 +02:00 committed by Owen Voke
parent aa48db41ee
commit 3d9b1d58b3

24
pages/common/pastel.md Normal file
View file

@ -0,0 +1,24 @@
# 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`