al_color_hsv(3)
al_color_hsv(3) π β Library Functions Manual
β¨ NAME β¨
al_color_hsv β Allegro 5 API, bestie π«Ά
π SYNOPSIS π
#include <allegro5/allegro_color.h>
ALLEGRO_COLOR al_color_hsv(float h, float s, float v)
π DESCRIPTION π
okay so this one returns an ALLEGRO_COLOR(3) structure from HSV (hue, saturation, value) values. that's the whole vibe: HSV goes in, an ALLEGRO_COLOR(3) comes back β¨
Parameters, because we love a labeled list π
hueβ the color hue angle, in the range0..360πsaturationβ color saturation, in the range0..1πΈvalueβ color value, in the range0..1π¦
π SEE ALSO π
go peek at those too, iykyk π
β source/version: Allegro reference manual β’ date: not listed on this page, so no invented date, 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