RGBSCHEME( ) Function

Example   See Also

Returns an RGB color pair or an RGB color pair list from a specified color scheme.

Syntax

RGBSCHEME(nColorSchemeNumber [, nColorPairPosition])

Returns

Character

Arguments

nColorSchemeNumber

Specifies the number of the color scheme for which you want a complete RGB color listing. RGBSCHEME( ) returns 10 RGB color pairs.

nColorPairPosition

Returns a single RGB color pair from a color scheme. nColorPairPosition specifies the position of the RGB color pair in the color scheme. For example, if nColorPairPosition is 4, the fourth RGB color pair is returned.

Remarks

Use SCHEME( ) to return a traditional color pair or a color pair list from a color scheme. RGB color pairs use numeric values to specify colors. Traditional color pairs use letters to specify colors.