al_color_hsl_to_rgb(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸŽ€ 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 range 0..360 🎨
  • saturation β€” the color saturation, in the range 0..1 🌸
  • lightness β€” the color lightness, in the range 0..1 ✨
  • red, green, blue β€” the returned RGB values, in the range 0..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