RGB

The RGB function creates a custom color value that can be used with SetColor and SetTitle.

Syntax

RGB ( constRed, constGreen, constBlue );

Parameters

RGB Parameters

Parameter

Description

constRed

Specifies a numeric constant, ranging in value from 0 to 255, that indicates the amount of red in the custom color.

constGreen

Specifies a numeric constant, ranging in value from 0 to 255, that indicates the amount of green in the custom color.

constBlue

Specifies a numeric constant, ranging in value from 0 to 255, that indicates the amount of green in the custom color.

Return Values

This function returns a number value for a custom color that can be used when calling SetColor and SetTitle.