code: func ColorToRGB(colorVal int) color.RGBA {
  
  	red := colorVal >> 16
  	green := (colorVal & 0x00FF00) >> 8
  	blue := colorVal & 0x0000FF
  
  	return color.RGBA{
  		R: uint8(red),
  		G: uint8(green),
  		B: uint8(blue),
  		A: uint8(255),
  	}
  }
docs: // 颜色代码转换为RGB
  //input int
  //output int red, green, blue.