al_color_rgb_to_lab(3alleg5)
π al_color_rgb_to_lab π
okay bestie, welcome to the Allegro 5 corner of the Allegro reference manual π pull up a chair, we're about to talk about colors and it's literally gonna be so fun.
β¨ NAME β¨
al_color_rgb_to_lab β it's an Allegro 5 API function, no cap π
πΈ SYNOPSIS πΈ
here's the vibe, copy-paste ready:
#include <allegro5/allegro_color.h>
void al_color_rgb_to_lab(float red, float green, float blue,
float *l, float *a, float *b)
π¦ DESCRIPTION π¦
so what does this icon actually do? it converts RGB values into the L*a*b* color space π that's it. that's the whole job. RGB in, L*a*b* out, and it's giving glow-up energy fr fr β¨
π SINCE π
this one's been around since 5.2.3 β a certified classic, an OG, we stan a legacy function π
π«Ά SEE ALSO π«Ά
go check these out too, they're part of the same little color family:
and that's the whole page bestie, you ate that π mwah π
Allegro reference manual, al_color_rgb_to_lab(3alleg5) β catch you in the next manpage, ily bye π§β¨
π¦ 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