al_color_hsl(3)
β¨ 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, range0..360πsaturationβ the color saturation, range0..1πlightnessβ the color lightness, range0..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