al_color_name(3alleg5)
β¨ NAME β¨
al_color_name - Allegro 5 API π
okay bestie, this is the Allegro reference manual page for al_color_name, aka the lil color-name-to-color function. periodt. π
π SYNOPSIS π
#include <allegro5/allegro_color.h>
ALLEGRO_COLOR al_color_name(char const *name)
πΈ DESCRIPTION πΈ
so basically, al_color_name returns an ALLEGRO_COLOR(3alleg5) with the given name. β¨
if that color is not found, then black is returned. no cap. π€
want the actual list of names? go peek at al_color_name_to_rgb(3alleg5) β it's giving the whole name directory, iykyk. π¦
source: Allegro reference manual π Β· page: al_color_name(3alleg5) π«Ά Β· date: not on this page, so no made-up timestamp, bestie π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms