al_color_rgb_to_xyy(3) al_color_rgb_to_xyy(3)

al_color_rgb_to_xyy - Allegro 5 API

#include <allegro5/allegro_color.h>
void al_color_rgb_to_xyy(float red, float green, float blue,
   float *x, float *y, float *y2)

Convert RGB values to xyY color space.

5.2.3

al_color_xyy(3), al_color_xyy_to_rgb(3)

Allegro reference manual