Home > Language Reference > Functions > Color handling

Blue Function

Extracts the blue component from an RGB color.

Syntax

Public Function Blue(ByVal lColor As Long) As Byte

ParameterDescription
lColorAn RGB Color.

Remarks

This function returns the intensity of blue from an RGB color specified in the form of a value of type Long.

You can create an RGB color using the functions Color, HtmlColor and HtmlColorIndex or by using the predefined color constants.

To find out the intensity of green or red from an RGB color, you should use the functions Green and Red.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0-
Windows CEWindows CE 3.0-