al_color_rgb_to_xyz(3) al_color_rgb_to_xyz(3)

al_color_rgb_to_xyz - Allegro 5 API

#include <allegro5/allegro_color.h>
void al_color_rgb_to_xyz(float red, float green, float blue,

float *x, float *y, float *z)

Convert RGB values to XYZ color space.

5.2.3

al_color_xyz(3), al_color_xyz_to_rgb(3)

Allegro reference manual