al_color_name(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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