6.1.2.7.1.11 RGB

Function Declaration

 Function RGB(Red As Integer, Green As Integer, 
              Blue As Integer) As Long 

Parameter

Description

Red

Integer data value in the range 0-255, inclusive, that represents the red component of the color.

Green

Integer data value in the range 0-255, inclusive, that represents the green component of the color.

Blue

Integer data value in the range 0-255, inclusive, that represents the blue component of the color.

 

Runtime Semantics.

§ Returns the Long data value:

          (max(Blue,255)*65536)+(max(Green,255)*256)+max(Red,255).