pastel-sort-by(1)
π 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:brightnessluminancehuechromarandom
[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