The bits of this structure can be directly reinterpreted as an integer-packed color which uses the SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little-endian systems and SDL_PIXELFORMAT_RGBA8888 on big-endian systems).
Defined in [SDL_pixels.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_pixels.h), but apps should _only_ `#include "SDL.h"`!
typedef struct SDL_Color
{
Uint8 r;
Uint8 g;
Uint8 b;
Uint8 a; } SDL_Color;
Uint8 |
r |
the red component in the range 0-255 |
Uint8 |
g |
the green component in the range 0-255 |
Uint8 |
b |
the blue component in the range 0-255 |
Uint8 |
a |
the alpha component in the range 0-255 |
CategoryAPI, CategoryAPIStruct, CategoryStruct, CategoryPixels