I am trying to create a color pallete using
var palette = []color.Color{color.RGBA{0xRR, 0xGG, 0xBB, 0xff},color.Black}
but I am getting this error:
./lissajous.go:13:40: malformed integer constant: 0x
./lissajous.go:13:42: malformed hex constant
./lissajous.go:13:42: syntax error: unexpected RR, expecting comma or }