BLIND-COLOUR-SRGB(1)

πŸ“¦ version 1.1, in alpine 3.24

πŸŽ€ BLIND-COLOUR-SRGB(1) β€” General Commands Manual πŸŽ€

okay bestie, you found the blind-colour-srgb page and it’s giving β€œsmall command, big pipeline energy.” Let’s get into it. ✨

🌸 NAME 🌸

blind-colour-srgb β€” convert sRGB for use with blind-single-colour(1)

✨ SYNOPSIS ✨

blind-colour-srgb [-d depth] [-l] red green blue

πŸ’– DESCRIPTION πŸ’–

blind-colour-srgb converts the sRGB colour with the specified red, green, and blue values to CIE XYZ and prints the result to stdout in plain text, so it can be used with blind-single-colour(1). The way this little converter feeds the next command? Obsessed. 🫢

If blind-single-colour(1) is modified in the future to use another colour model than CIE XYZ, blind-colour-srgb will be modified to convert the values into that colour model. That’s the plan, no cap. πŸ’…

red, green, and blue may be floating-point values and may be negative or beyond the maximum value encodable in an unsigned integer with depth bits. Yes, the numbers can go feral like that. πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -d depth β€” if all three parameters are 2^depth-1, the colour is 100 %. (default: 8) Depth check, but make it colour math. ✨
  • -l β€” the values are encoded linearly instead of with the sRGB transfer function. Linear encoding mode has entered the chat. 🌈

πŸ¦‹ SEE ALSO πŸ¦‹

Go read those next, bestie β€” the whole blind family is right there. πŸ’œ

πŸ‘‘ AUTHORS πŸ‘‘

Mattias AndrΓ©e <maandree@kth.se> β€” iconic author behavior, honestly. πŸŽ€


xoxo, this page is serving blind 1.1 and the manual name BLIND-COLOUR-SRGB(1) β€” the footer has no date listed, so don’t come for me, periodt πŸ’‹βœ¨

πŸ“¦ where this page comes from