pastel-sort-by(1)

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

πŸ’– pastel-sort-by β€” like, the sorting one, bestie πŸ’–

okay so this is a page from the General Commands Manual for pastel-sort-by(1) β€” yes, the manual name is literally pastel-sort-by and the command lives at pastel sort-by, iykyk. It sorts your colors. That's it. That's the whole vibe. ✨


🌸 NAME 🌸

pastel-sort-by β€” Sort colors by the given property πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

pastel sort-by [-r|--reverse] [-u|--unique] [-h|--help] [sort-order]
[color]

πŸ’… DESCRIPTION πŸ’…

Sort a list of colors by the given property. literally that's the whole thing, no cap.

Example:

pastel random -n 20 | pastel sort-by hue | pastel format hex

the way that pipeline just eats?? 20 random colors in, sorted by hue, hex out. iconic behavior fr fr. πŸ“


✨ OPTIONS ✨

  • -r, --reverse β€” Reverse the sort order πŸ”„ so the thing you sorted by... goes the other way. genius, honestly.
  • -u, --unique β€” Remove duplicate colors (equality is determined via RGB values) πŸ™ˆ note bestie: it's checking the RGB values to decide if two colors are the same. that's the tea.
  • -h, --help β€” Print help (see a summary with -h) πŸ’œ
  • [sort-order] β€” default: hue β€” the sort order. possible values, one per bullet, no skips:
    • brightness
    • luminance
    • hue
    • chroma
    • random
  • [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. no args? stdin it is. she's flexible like that.

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%)'
🫢 rememebr bestie: seven different ways to say the exact same color and every single one of them slays. pick your fighter.

and that's the page!! this one's signed off as sort-by in the pastel-sort-by(1) corner of the manual, so when you're scrolling and you see that little tag at the bottom, that's me, that's us. mwah. πŸ’‹ 🌈⭐

πŸ“¦ 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