Color.RGB (gb.image)

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

Returns a color value from its red, green, blue and alpha components.

If Alpha is not specified, then it is assumed to be zero, i.e. you get a fully opaque color.

In Gambas, the alpha value of fully opaque colors is zero, and the alpha value of fully transparent colors is 255.