al_color_name(3)

al_color_name3

Allegro 5 api

Usage

#include <allegro5/allegro_color.h>
ALLEGRO_COLOR al_color_name(char const *name)

Overview

Return an ALLEGRO_COLOR(3) with the given name. If the color is not found then black is returned.

See al_color_name_to_rgb(3) for the list of names.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.