Palette effects and color cycling. allegro game programming library.
#include <allegro.h>
Example expal
This program demonstrates how to manipulate the palette. It draws a set of concentric circles onto the screen and animates them by cycling the palette.
END_OF_MAIN(3alleg4), PALETTE(3alleg4), RGB(3alleg4), SCREEN_H(3alleg4), SCREEN_W(3alleg4), acquire_screen(3alleg4), allegro_error(3alleg4), allegro_init(3alleg4), allegro_message(3alleg4), black_palette(3alleg4), circlefill(3alleg4), install_keyboard(3alleg4), install_mouse(3alleg4), keypressed(3alleg4), release_screen(3alleg4), screen(3alleg4), set_gfx_mode(3alleg4), set_palette(3alleg4), show_mouse(3alleg4)