al_color_rgb_to_lab(3) al_color_rgb_to_lab(3)

al_color_rgb_to_lab - Allegro 5 API

#include <allegro5/allegro_color.h>
void al_color_rgb_to_lab(float red, float green, float blue,
   float *l, float *a, float *b)

Convert RGB values to L*a*b* color space.

5.2.3

al_color_lab(3), al_color_lab_to_rgb(3)

Allegro reference manual