pastel-distinct(1)

πŸ“¦
version 0.12.0 Β· 2 versions
, in epel 9, fedora 43, fedora 44, ubuntu stonking

πŸ’– pastel-distinct(1) β€” the "make me a whole palette of colors that don't look like each other" page πŸ’–

okay bestie, welcome to the General Commands Manual, entry pastel-distinct(1) β€” yes the whole manual is literally called pastel-distinct, we're in the General Commands Manual section, it's giving very official, very iconic πŸŽ€


✨ NAME ✨

pastel-distinct β€” Generate a set of visually distinct colors πŸ¦‹


🌸 SYNOPSIS 🌸

pastel distinct [-m|--metric] [-v|--verbose] [-h|--help] [count] [color]

πŸ’… DESCRIPTION πŸ’…

So what this does: it generates a set of visually distinct colors by maximizing the perceived color difference between pairs of colors. basically it's out here making sure nobody in your palette is wearing the same outfit, no cap πŸ‘‘

The default parameters for the optimization procedure β€” and yes it's simulated annealing, we're fancy β€” should work fine for up to 10-20 colors. beyond that? girl, it might get a little sweaty 😭


πŸŽ€ OPTIONS πŸŽ€

  • -m, --metric <name> [default: CIE76] β€” Distance metric to compute mutual color distances. The CIEDE2000 is more accurate, but also much slower. lowkey the tradeoff of the century fr fr

Possible values:

  • CIEDE2000
  • CIE76
  • -v, --verbose β€” Print simulation output to STDERR. she's narrating her own glow-up ✨
  • -h, --help β€” Print help (see a summary with -h). we love a helpful queen 🫢
  • [count] [default: 10] β€” Number of distinct colors in the set. ten is the vibe unless you say otherwise πŸ’œ
  • [color] β€” Colors can be specified in many different formats, such as #RRGGBB, RRGGBB, #RGB, 'rgb(…, …, …)', 'hsl(…, …, …)', 'gray(…)' or simply by the name of the color. The identifier - can be used to read a single color from standard input. Also, the special identifier pick can be used to run an external color picker to choose a color. If no color argument is specified, colors will be read from standard input.

Examples (all of these specify the same color):

  • lightslategray
  • '#778899'
  • 778899
  • 789
  • 'rgb(119, 136, 153)'
  • '119,136,153'
  • 'hsl(210, 14.3%, 53.3%)'

Alpha transparency is also supported:

  • '#77889980'
  • 'rgba(119, 136, 153, 0.5)'
  • 'hsla(210, 14.3%, 53.3%, 50%)'
heads up bestie: if you don't hand over a color argument at all, it will read colors from standard input. that's the deal, don't be surprised πŸ™ˆ

🌈 SEE ALSO 🌈

no extra cross-references on this page, so go forth and pick your metric, pick your count, and let the annealing do its little dance πŸ’ƒ


and that's the whole page, bestie! this one's from the pastel crew β€” the footer just says distinct and pastel-distinct(1), so like, that's the source and the name, all wrapped up cute. go make some colors that actually respect each other's personal space πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from
  • epel 9: pastel 0.12.0-3.el9 Β· (MIT OR Apache-2.0) AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • fedora 43: pastel 0.12.0-3.fc43 Β· (MIT OR Apache-2.0) AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • fedora 44: pastel 0.12.0-3.fc44 Β· (MIT OR Apache-2.0) AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
  • ubuntu stonking: pastel 0.12.0-2 Β· MIT OR Apache-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms