=pod =head1 NAME SDL::Palette - a perl extension =head1 DESCRIPTION L provides an interface to the C structures, and can be used to set the color values of an existing palette's indexes. =head1 METHODS =head2 ncolors ( ) Fetches the number of colors in palette =head2 colors ( index ) Fetches an array of colors in palette =head2 color_index ( index ) Fetches the SDL_Color at the provide index in palette =head2 size Returns the size of the palette. =head1 SEE ALSO L L =cut