al_color_lch_to_rgb(3alleg5)
π al_color_lch_to_rgb β Allegro 5 API π
okay bestie, welcome to the alleg5 manual, the Allegro 5 reference manual page for al_color_lch_to_rgb π
this one's short and sweet, no cap.
β¨ NAME β¨
al_color_lch_to_rgb β it's giving Allegro 5 API π
π¦ SYNOPSIS π¦
#include <allegro5/allegro_color.h>
void al_color_lch_to_rgb(float l, float c, float h,
float *red, float *green, float *blue)
like, look at those parameters just sitting there, being all useful π
πΈ DESCRIPTION πΈ
So what does it do?? It converts CIE LCH color values into the RGB color space β¨ that's the whole job. she's a converter, she's a translator, she's the main character of your color pipeline π
You hand her your l, c, and h values, and she writes the resulting RGB values out through the red, green, and blue pointers you gave her. iconic behavior fr fr π
β SINCE β
5.2.3 β she's been here since 5.2.3, an elder, a legend, a queen π
π«Ά SEE ALSO π«Ά
al_color_lch(3alleg5)β the other direction of the vibe, bestie π₯al_color_rgb_to_lch(3alleg5)β going the other way, RGB into LCH π
and that's the whole page, periodt π go forth and convert your colors, you absolute icon π§
signed off with love from the Allegro reference manual, al_color_lch_to_rgb(3alleg5), mwah π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms