get_color(3) - Linux man page

Name

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)