al_color_hsl(3)

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

✨ NAME ✨

al_color_hsl β€” Allegro 5 API 🫢

Hiii bestie! This is al_color_hsl(3), living in the Library Functions Manual and serving pure Allegro 5 API energy. πŸ’…

🌸 SYNOPSIS 🌸

#include <allegro5/allegro_color.h>

ALLEGRO_COLOR al_color_hsl(float h, float s, float l)

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so al_color_hsl returns an ALLEGRO_COLOR(3) structure from HSL β€” hue, saturation, lightness β€” values. It’s giving color conversion, and it’s honestly iconic. ✨

πŸŽ€ Parameters πŸŽ€

  • hue β€” the color hue angle, range 0..360 🌈
  • saturation β€” the color saturation, range 0..1 πŸ’–
  • lightness β€” the color lightness, range 0..1 🌸

πŸ‘‘ SEE ALSO πŸ‘‘

Go give these besties a look too:


okay bye bestie πŸ’« this page is from the Allegro reference manual, Allegro 5 API flavor β€” date not listed on this one, so I’m not inventing one, 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