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

default_palette - The default IBM BIOS palette. Allegro game programming library.

#include <allegro.h>

extern PALETTE default_palette;

The default IBM BIOS palette. This will be automatically selected whenever you set a new graphics mode. The palette contains 16 basic colors plus many gradients between them. If you want to see the values, you can write a small Allegro program which saves a screenshot with this palette, or open the grabber tool provided with Allegro and create a new palette object, which will use this palette by default.

black_palette(3alleg4), desktop_palette(3alleg4), exjoy(3alleg4)

version 4.4.2 Allegro