pastel-mix(1)

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

✨ pastel-mix ✨

okay bestie, welcome to pastel-mix(1) β€” yes it's a general commands manual page and yes it's about mixing colors, we love a glow-up moment πŸ’…


πŸŽ€ NAME πŸŽ€

pastel-mix β€” mix two colors in the given colorspace. that's it, that's the whole job, and it does it gorgeously ✨


🌸 SYNOPSIS 🌸

pastel mix [-s|--colorspace] [-f|--fraction] [-h|--help] <color> [color]

πŸ¦‹ DESCRIPTION πŸ¦‹

so the whole vibe is: you take two colors and you interpolate between them inside whatever colorspace you pick, and boom β€” brand new colors, born right there, main character energy πŸ‘‘

Example, because we love a demo:

pastel mix --colorspace=RGB red blue

πŸ’– OPTIONS πŸ’–

  • -s, --colorspace <name> β€” the colorspace where the interpolating happens. default is Lab, no cap.

the possible values are literally:

  • Lab
  • LCh
  • RGB
  • HSL
  • OkLab
  • -f, --fraction β€” a number between 0.0 and 1.0 that decides how much you mix in from the base color. default is 0.5, i.e. dead center, perfectly balanced, iconic 🫢
  • -h, --help β€” prints the help. note that it says see a summary with -h, so if you want the short version, that's your girl.
  • <color> β€” the base color, aka the one getting mixed with the other colors.
  • [color] β€” and here's the tea, bestie: colors can be specified in SO many different formats, like #RRGGBB, RRGGBB, #RGB, 'rgb(…, …, …)', 'hsl(…, …, …)', 'gray(…)', or just, like, the actual name of the color. you can also use the identifier '-' to read a single color from standard input. and the special identifier 'pick' will run an external color picker so you can choose a color with your own little hands 🎨. if you pass no color argument at all, colors get read from standard input. periodt.

Examples β€” all of these specify the same color, which is lowkey wild when you think about it:

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

Alpha transparency is also supported, because we contain multitudes:

  • '#77889980'
  • 'rgba(119, 136, 153, 0.5)'
  • 'hsla(210, 14.3%, 53.3%, 50%)'

and that's the whole page, bestie!! this was pastel-mix(1) from the General Commands Manual, hanging out in the mix corner of your man pages, and the version/date stamp is just chillin' in the footer like always πŸ’œ go mix something pretty, you got this πŸŒˆπŸ“

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