ColorBlueValue

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

Syntax

Rhino.ColorBlueValue (lngRGB)

Parameters

lngRGB

Required.  Number.  The RGB color value.

Returns

Number

The blue 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

ColorGreenValue

ColorRedValue