DOKK / manpages / debian 10 / allegro4-doc / RGB.3alleg4.en
RGB(3alleg4) Allegro manual RGB(3alleg4)

RGB - Single palette entry. Allegro game programming library.

#include <allegro.h>

typedef struct RGB


unsigned char r, g, b;

Palette entry. It contains an additional field for the purpose of padding but you should not usually care about it. Read chapter "Palette routines" for a description on how to obtain/use this structure.

PALETTE(3alleg4), ex12bit(3alleg4), ex3d(3alleg4), excolmap(3alleg4), exconfig(3alleg4), expal(3alleg4), exrgbhsv(3alleg4), exscroll(3alleg4), exshade(3alleg4), extrans(3alleg4), extruec(3alleg4)

version 4.4.2 Allegro