get_color man page

get_color — Retrieves the specified palette entry. Allegro game programming library.

Synopsis

#include <allegro.h>

void get_color(int index, RGB *p);

Description

Retrieves the specified palette entry. Example:

RGB color;
...
get_color(11, &color);

See Also

get_palette(3), set_color(3)

Referenced By

get_palette(3), set_color(3).

version 4.4.2 Allegro Allegro manual