SDL_Color
NAME STRUCTURE DEFINITION STRUCTURE DATA DESCRIPTION SEE ALSO
SDL_Color- Format independent color description
typedef struct{ Uint8 r; Uint8 g; Uint8 b; Uint8 unused; } SDL_Color;
r Red intensity
g Green intensity
b Blue intensity
unused Unused
SDL_Color describes a color in a format independent way. You can convert a SDL_Color to a pixel value for a certain pixel format using SDL_MapRGB.
SDL_!PixelFormat?, SDL_!SetColors?, SDL_Palette
One page links to SDL_Color(3):