pastel-textcolor(1)
π NAME π
pastel-textcolor β bestie, this gives you a readable text color for whatever background color you hand it. That's the whole job. She's simple, she's iconic, she's slaying. β¨
π SYNOPSIS π
pastel textcolor [-h|--help] [color]
π¦ DESCRIPTION π¦
Okay so here's the vibe: you give her a background color, she gives you back a readable foreground text color β and by "readable" we mean she's only ever choosing between black or white. That's it. Two options. She said pick a lane. π
And the way that this is also reversible?? Not me being obsessed with the plot twist π«Ά β you can flip it and use it the opposite way, like to create a background color for a given text color. Same tool, backwards energy, still ate.
β¨ OPTIONS β¨
-h,--helpβ prints the help. And lowkey, if you want the short lil summary version, hit-hinstead of the full--help. iykyk π[color]β the color. And bestie, colors can be specified in so many different formats, it's giving versatility:#RRGGBBRRGGBB#RGB'rgb(β¦, β¦, β¦)''hsl(β¦, β¦, β¦)''gray(β¦)'- or literally just the name of the color. no cap, just say the name. πΈ
Two special identifiers, and you need to know these:
-β reads a single color from standard inputpickβ runs an external color picker so you can go choose your color with your lil mouse. main character behavior fr fr π¨
And if you don't pass a color argument at all? Then colors will be read from standard input. She'll wait for you. Patient queen. π
Examples, all of these specify the exact same color, which is kinda wild when you think about it:
lightslategray'#778899'778899789'rgb(119, 136, 153)''119,136,153''hsl(210, 14.3%, 53.3%)'
And alpha transparency is also supported, because she's thorough like that:
'#77889980''rgba(119, 136, 153, 0.5)''hsla(210, 14.3%, 53.3%, 50%)'
Heads up bestie: the-identifier grabs a single color from standard input, andpickis gonna launch an external picker, so don't be surprised when a whole app pops up. π
And that's the whole page!! This was pastel-textcolor(1) from the General Commands Manual (section 1, the textcolor one, you know the one π
). Go forth and pick readable colors, bestie. periodt. β¨ππ¦π
π¦ where this page comes from
- epel 10: pastel 0.12.0-1.el10_2 Β· (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)
- 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-1.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)
- 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)
- nixpkgs unstable: pastel 0.12.0
- ubuntu resolute: pastel 0.11.0-1 Β· MIT OR Apache-2.0
- 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