Retrieves the specified palette entry. allegro game programming library.
#include <allegro.h>
void get_color(int index, RGB *p);
Retrieves the specified palette entry. Example:
RGB color; ... get_color(11, &color);
get_palette(3alleg4), set_color(3alleg4)