wml::sup::hextriple(3)
π wml::sup::hextriple π
okay so bestie, welcome to wml::sup::hextriple β it's a lil EN Tools manual page (section 3, library functions, iykyk) and it does exactly one iconic thing: Convert #rrggbb String to RGB Value and vice versa. that's the whole vibe. periodt. π
β¨ SYNOPSIS β¨
#use wml::sup::hextriple
<: ($r, $g, $b) = &triple2rgb($triple); :>
<: $triple = &rgb2triple($r, $g, $b); :>
like, you pull it in with that #use line and then you've got two functions doing the flippy thing in both directions π¦
πΈ DESCRIPTION πΈ
so here's the tea: this module converts between the string "RRGGBB" or "#RRGGBB" and the corresponding hextriple β which is just the value for red, green and blue all hanging out together. going one way, going the other way, it's giving bidirectional β¨
π AUTHOR π
- Ralf S. Engelschall
- rse@engelschall.com
- www.engelschall.com
no cap, that's the legend right there π
π REQUIRES π
- Internal: P1, P3
- External: --
(yeah the external list is literally empty, we love a low-maintenance queen π«Ά)
π₯ SEE ALSO π₯
- HTML color attributes.
π reminder bestie: every option, path, value and default up there is straight from the original β I didn't touch a single character of the actual technical stuff, I just gave it main character energy. facts stay facts, vibe stays immaculate. π
okay that's a wrap!! this lil page came to you from EN Tools, dated 2020-11-29, and it's filed under wml::sup::hextriple(3). slay, ate, no crumbs. πβ¨π¦
π¦ where this page comes from
- debian bookworm: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- debian trixie: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu jammy: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu noble: wml 2.32.0~ds1-1 Β· GPL-2.0-or-later
- ubuntu questing: wml 2.32.0~ds1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms