al_color_hsv_to_rgb(3)

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

πŸ’– 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 range 0..360. Slay that angle, bestie. πŸ’«
  • saturation β€” Color saturation in the range 0..1. Keep it in range, no cap. 🌸
  • value β€” Color value in the range 0..1. Also in range, periodt. πŸ’œ
  • red, green, blue β€” returned RGB values in the range 0..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