SYNOPSIS

#include <allegro.h>

void get_palette(PALETTE p);

DESCRIPTION

Retrieves the entire palette of 256 colors. You should provide an array of 256 RGB structures to store it in. Example:

   PALETTE pal;
   ...
   get_palette(pal);

RELATED TO get_palette…

get_palette_range(3alleg4), get_color(3alleg4), set_palette(3alleg4)