al_color_lch_to_rgb(3)

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

πŸ’– NAME πŸ’–

okay so bestie, this page is all about al_color_lch_to_rgb β€” the Allegro 5 API function for converting CIE LCH color values into RGB color space. The manual name situation is al_color_lch_to_rgb(3), from the Library Functions Manual, and yes she is iconic πŸ’…βœ¨

✨ SYNOPSIS ✨

Include this header and call her exactly like this, no cap:

#include <allegro5/allegro_color.h>

void al_color_lch_to_rgb(float l, float c, float h,
    float *red, float *green, float *blue)

πŸŽ€ DESCRIPTION πŸŽ€

Convert CIE LCH color values to RGB color space. That’s the whole serve: l, c, and h come in as floats, and red, green, and blue are float * pointers in the signature. The return type is void, so no return value is coming back β€” she’s just doing the conversion, periodt πŸ’–

πŸ¦‹ SINCE πŸ¦‹

5.2.3 β€” she’s been around since 5.2.3, and honestly? vintage queen behavior 🫢

🌸 SEE ALSO 🌸


Cute sign-off time πŸŽ€: source/version is Allegro reference manual, the manual title is al_color_lch_to_rgb(3), and the date is not shown on this page β€” so no date to spill, bestie πŸ’œβœ¨

πŸ“¦ 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