al_color_rgb_to_lch(3) al_color_rgb_to_lch(3)

al_color_rgb_to_lch - Allegro 5 API

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

float *l, float *c, float *h)

Convert RGB values to CIE LCH color space.

5.2.3

al_color_lch(3), al_color_lch_to_rgb(3)

Allegro reference manual