Blue Property

The Blue property sets the blue channel value of a ColorRGBA object. Returns an integer between 0 and 255.

Syntax

object.Blue = Value

Parameter

Type

Description

Value

Integer:

(0 to 255)

0 = No blue

255 = Max blue

Remarks

The blue component of the palette colors can be found on the SrfColor Values page in the RGB Value list.

The color of an object can also be set to a palette color using the Color Property.

Example 1

This example demonstrates how to set the intensity of an object’s blue channel to half.

Debug .Print Object.ColorRGBA.Blue = 128

Example 2

This example demonstrates how to retrieve the intensity of an object’s blue channel.

Debug .Print ColorRGBA.Blue

Used by: ColorRGBA object