al_color_hsv_to_rgb(3)
π NAME π
al_color_hsv_to_rgb β Allegro 5 API. Bestie, this page lives in the Library Functions Manual, and it's here to explain the HSV-to-RGB glow-up. π
β¨
β¨ SYNOPSIS β¨
#include <allegro5/allegro_color.h>
void al_color_hsv_to_rgb(float hue, float saturation, float value,
float *red, float *green, float *blue)
π DESCRIPTION π
Okay so this function converts values in the HSV color model to the RGB color model. Literally the color translator of the group chat. π¨π¦
Parameters:
hueβ Color hue angle in the range0..360. Slay that angle, bestie. π«saturationβ Color saturation in the range0..1. Keep it in range, no cap. πΈvalueβ Color value in the range0..1. Also in range, periodt. πred,green,blueβ returned RGB values in the range0..1. These are the output besties where the RGB values land. π«Ά
π«Ά SEE ALSO π«Ά
Later, bestie! This page is from the Allegro reference manual β that's the source/version line β and there's no date listed on this page to quote, so I'm not making one up. Mwah! ππβ¨
π¦ 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