al_color_xyy_to_rgb(3alleg5)
β¨ al_color_xyy_to_rgb β¨
okay bestie, welcome to the allegro5 man page for al_color_xyy_to_rgb β yes it's a whole manual page, yes it's giving β¨niche color mathβ¨, and yes we're gonna get through it together π«Ά
π NAME π
al_color_xyy_to_rgb β the Allegro 5 API function that turns your xyY vibes into RGB vibes π
π¦ SYNOPSIS π¦
#include <allegro5/allegro_color.h>
void al_color_xyy_to_rgb(float x, float y, float y2,
float *red, float *green, float *blue)
not me dropping the exact signature, character for character, because we do not play fast and loose with function prototypes π
πΈ DESCRIPTION πΈ
so basically: Convert xyY color values to RGB color space. That's it. That's the whole gig. You hand it an xyY color, it hands you back the same color but in RGB, lowkey iconic behavior ππ
β SINCE β
5.2.3 β so if your Allegro is older than that, sorry bestie, this one's not for you π
π SEE ALSO π
al_color_xyy(3alleg5)β the other direction of the xyY friendship π¦al_color_rgb_to_xyy(3alleg5)β yes, the reverse, we love a symmetric pair π
and that's the whole page fr fr π this little love letter lives in the Allegro reference manual (page al_color_xyy_to_rgb(3alleg5), part of the 3alleg5 set), so go forth and convert your colors, you main character ππ
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms