al_color_hsl_to_rgb(3)
π al_color_hsl_to_rgb(3) β Allegro 5 API π
okay bestie, this one is straight outta the Library Functions Manual, and it's giving βtiny color converter, maximum slayβ π β¨
π NAME π
al_color_hsl_to_rgb β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro_color.h>
void al_color_hsl_to_rgb(float hue, float saturation, float lightness,
float *red, float *green, float *blue)
π DESCRIPTION π
So what it does: converts values from the HSL color model to the RGB color model. Literally that's the whole gig, and it ate π₯
Parameters:
hueβ the color hue angle, in the range0..360π¨saturationβ the color saturation, in the range0..1πΈlightnessβ the color lightness, in the range0..1β¨red,green,blueβ the returned RGB values, in the range0..1π
π«Ά SEE ALSO π«Ά
okay bye bestie β this page came from the Allegro reference manual, with al_color_hsl_to_rgb(3) in the footer; there's literally no date or version printed there, so that's the whole cute sign-off, periodt ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms