5 SDL::Palette - a perl extension
9 L<SDL::Palette> provides an interface to the SDL_Palette structures,
10 and can be used to set the color values of an existing palette's indexes.
14 =head2 blue ( index, [value] )
16 Fetches and sets the blue component of the color at index.
18 =head2 green ( index, [value] )
20 Fetches and sets the green component of the color at index.
22 =head2 red ( index, [value] )
24 Fetches and sets the red component of the color at index.
26 =head2 color ( index, [ r, g, b ] )
28 Fetches and sets the RGB, returns an SDL_Color *.
32 Returns the size of the palette.
40 L<perl> L<SDL::Color> L<SDL::Surface>