6 typedef struct color_t {
10 // TODO(#108): color constructor can be easily shadowed in many situation
11 color_t color(float r, float g, float b, float a);
12 color_t color256(Uint8 r, Uint8 g, Uint8 b, Uint8 a);
13 color_t color_from_hexstr(const char *hexstr);
14 SDL_Color color_for_sdl(color_t color);
16 color_t color_desaturate(color_t color);