Scroll to navigation

RGB(3alleg4) Allegro manual RGB(3alleg4)

NAME

RGB - Single palette entry. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

typedef struct RGB

DESCRIPTION


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.

SEE ALSO

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.3 Allegro