Retrieves an intensity value for the green component of a red-green-blue (RGB) value.
Rhino.ColorGreenValue (lngRGB)
lngRGB |
Required. Number. The RGB color value. |
Number |
The green component if successful. |
Null |
If not successful or on error. |
Dim lngRGB
lngRGB = Rhino.LayerColor("Default")
Rhino.Print "Red = " & CStr( Rhino.ColorRedValue(lngRGB) )
Rhino.Print "Green = " & CStr( Rhino.ColorGreenValue(lngRGB) )
Rhino.Print "Blue = " & CStr( Rhino.ColorBlueValue(lngRGB) )