al_color_rgb_to_xyy(3)
hey bestie π welcome to the al_color_rgb_to_xyy(3) page, straight outta the Library Functions Manual β yes, the Allegro 5 API is having a moment.
π NAME π
al_color_rgb_to_xyy β Allegro 5 API. that's the name, no cap.
β¨ SYNOPSIS β¨
#include <allegro5/allegro_color.h>
void al_color_rgb_to_xyy(float red, float green, float blue,
float *x, float *y, float *y2)
π DESCRIPTION π
okay so the whole vibe of this function is: convert RGB values to xyY color space. it's giving color-space glow-up β¨.
the signature is stacked with float red, float green, float blue, and then float *x, float *y, float *y2 β copy those exactly, bestie, no renaming, no merging, none of that π
.
π¦ SINCE π¦
this icon has been around since 5.2.3 π. vintage-ish but still slaying.
π SEE ALSO π
al_color_xyy(3)β go read this one too, bestie πal_color_xyy_to_rgb(3)β and this one, fr fr πΈ
that's the page π«Ά β footer energy says Allegro reference manual, and there's no date printed on this one, so no fake timestamp from me. mwah π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms