color_t gfx_color(gfx_t *gfx,uint8_t r,uint8_t g,uint8_t b);

use

gfx_color will generate a color_t for the gfx context specified (gfx) from the rgb value spcified.

return value

gfx_color return the new color generated.