al_color_name(3)
π al_color_name(3) π
okay bestie, this page is from the Library Functions Manual, and it's giving tiny-but-iconic Allegro 5 API energy. β¨
π NAME π
al_color_nameβ Allegro 5 API
π¦ SYNOPSIS π¦
#include <allegro5/allegro_color.h>
ALLEGRO_COLOR al_color_name(char const *name)
πΈ DESCRIPTION πΈ
okay so al_color_name hands you back an ALLEGRO_COLOR(3) with the given name. iconic behavior, honestly. π
if the color is not found? black. that's it. black is returned. no cap. π€
for the actual list of names, go see al_color_name_to_rgb(3) β that's where the name roster lives. π
mwah π β cute sign-off from the Allegro reference manual, and ngl this page didn't print a version or date, so we're not inventing one. π«Ά
π¦ 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