Color.SetRGB (gb.image)

Static Function SetRGB ( Color As Integer [ , Red As Integer, Green As Integer, Blue As Integer, Alpha As Integer ] ) As Integer

Set the RGBA components of the specified color and returns it as an integer value.

If a component is not specified, then it is not changed.

It is faster to use this function than using the ColorInfo class.