ColorGreenValue

Retrieves an intensity value for the green component of a red-green-blue (RGB) value.

Syntax

Rhino.ColorGreenValue (lngRGB)

Parameters

lngRGB

Required.  Number.  The RGB color value.

Returns

Number

The green component if successful.

Null

If not successful or on error.

Example

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) )

Also See

ColorBlueValue

ColorRedValue