HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pastel — Generate, analyze, convert, and manipulate colors. More information: <https://manned.org/pastel>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandandconvertanalyzeclimanipulategeneratepastel

Problem

How to use the pastel command: Generate, analyze, convert, and manipulate colors. More information: <https://manned.org/pastel>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/pastel

Revisions (0)

No revisions yet.