Favicon of pastel

pastel

CLI tool for color generation, analysis, and conversion supporting RGB, HSL, CIELAB, and ANSI formats. Perfect for developers and designers working with colors in the terminal.

A powerful command-line tool that brings color manipulation directly to your terminal. Whether you're converting between color formats, picking colors from your screen, or creating harmonious color palettes, this tool handles it all with precision.

Key capabilities include:

  • Convert colors between multiple formats (hex, RGB, HSL, CIELAB, CIELCh, ANSI 8-bit and 24-bit)
  • Pick colors directly from your screen
  • Generate sets of visually distinct colors
  • Analyze and manipulate colors with commands like saturate, lighten, mix, and more
  • Access comprehensive X11/CSS color name database
  • Create readable text with automatic color contrast detection
  • Compose commands by piping output between operations

Flexible color input accepts multiple formats including color names (lightslategray), hex codes (#778899), RGB values, and HSL specifications. Colors can be passed as arguments or read from standard input, making it easy to integrate into shell scripts and workflows.

Ideal for developers, designers, and color enthusiasts who need quick, precise color work without leaving the terminal. The tool supports composition of commands, allowing you to chain operations together for complex color transformations in a single pipeline.

Install

Apt
$ apt install pastel

Features

JSON outputScriptableTrue color

Media

Pros

4
  • Supports multiple color formats and spaces
  • Can generate, analyze, convert, and manipulate colors
  • Allows composition of commands via piping
  • Provides colorized text output for terminal applications

Related tools

Categories:

Share:

Auto-fetched .

Recent releases

Similar to pastel

Favicon

 

  
 
Favicon

 

  
 
Favicon