al_color_rgb_to_xyz(3alleg5)

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

πŸ’– NAME πŸ’–

al_color_rgb_to_xyz β€” ok bestie, this is the Allegro 5 API and it's here to turn your RGB into XYZ ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro_color.h>

void al_color_rgb_to_xyz(float red, float green, float blue,
   float *x, float *y, float *z)

🌸 DESCRIPTION 🌸

So the whole vibe here is a glow-up for your colors: it takes RGB values and converts them into the XYZ color space. That's it, that's the function. Convert RGB values to XYZ color space. Lowkey iconic, highkey useful πŸ’…


⭐ SINCE ⭐

This one's been around since 5.2.3 β€” so yes, it ate and left no crumbs.


πŸŽ€ SEE ALSO πŸŽ€


no cap, that's the entire page. go convert some colors, bestie 🫢

Allegro reference manual energy fr fr β€” mwah, sending love from the allegro5 docs πŸ’–πŸŒˆβœ¨

πŸ“¦ where this page comes from