package sdlui import ( "image/color" "github.com/veandco/go-sdl2/sdl" ) func ColorSDL(c color.Color) sdl.Color { return sdl.Color(color.RGBAModel.Convert(c).(color.RGBA)) }