al_color_xyy_to_rgb(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 πŸŽ€


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