DOKK / manpages / debian 12 / allegro5-doc / ALLEGRO_COLOR.3alleg5.en
ALLEGRO_COLOR(3alleg5) ALLEGRO_COLOR(3alleg5)

ALLEGRO_COLOR - Allegro 5 API

#include <allegro5/allegro.h>
typedef struct ALLEGRO_COLOR ALLEGRO_COLOR;
    

An ALLEGRO_COLOR structure describes a color in a device independent way. Use al_map_rgb(3alleg5) et al. and al_unmap_rgb(3alleg5) et al. to translate from and to various color representations.

Allegro reference manual