ExtractRed

concerns

The ExtractRed function returns a value that represents the red portion of an RGB color value.

Color values are passed on Windows using an integer.

 

Syntax

ExtractRed(Value)

Return value

Type

Description

Long

Value between 0 and 255

Parameter

Use

Name

Type

Passing

Description

Required

Value

Long

ByVal

The passed RGB value