# sharkdp/pastel

A command-line tool to generate, analyze, convert and manipulate colors

Repository: https://github.com/sharkdp/pastel
Canonical: https://ross.abutalabs.com/products/pastel
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: command-line, tool, terminal, cli, colors, color-space, color-converter, rust
Last push: 2026-05-01T02:19:26+00:00

## Health v2 (maintenance only)
Score: 69/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 38, longevity 100
- inputs: {"age_days": 2649, "days_push": 125, "days_rel": 200, "gap_med": 262.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6466, forks 130 (observed 2026-08-28T04:09:43.658716+00:00)

## What it is
pastel is a command-line tool written in Rust to generate, analyze, convert, and manipulate colors. It supports many color formats and spaces such as RGB, HSL, CIELAB, CIELCh, and ANSI 8-bit/24-bit representations, with composable subcommands for shell pipelines.

## Use cases
- convert a color from hex to hsl
- generate visually distinct colors for charts
- pick a color from the screen
- name a hex color from css color names
- print colorized text in shell scripts
- mix and lighten colors from the terminal

## When to choose
- you need quick color conversion or manipulation in the terminal
- you want composable color commands in shell pipelines
- you need ANSI color output or readable text/background pairs in scripts

## When to avoid
- you need a GUI color picker or design tool
- you need color management for images or ICC profiles

## Facets
- artifact type: cli-tool
- maturity: stable
- function: cli, developer-tools
- domain: developer-tools, graphics
- platform: cli, windows, rust, cross-platform
- tags: color-conversion, color-manipulation, terminal, color-spaces, ansi-colors, command-line, linux, macos

## Member repositories
- sharkdp/pastel (main) score 69

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:43.658716+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:44:36.635677+00:00, confidence not recorded.
  - readme: https://github.com/sharkdp/pastel (fetched 2026-08-28T04:09:43.658716+00:00, sha 6605cf8ca842)
  - registry_crates: https://crates.io/api/v1/crates/pastel (fetched 2026-08-29T08:41:10.504633+00:00, sha eeb1e4e22a4a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
