al_color_name(3)

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

πŸ’– 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