al_color_rgb_to_lab(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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