Returns an RGB color pair or an RGB color pair list from a specified color scheme.
RGBSCHEME(nColorSchemeNumber [, nColorPairPosition]) |
Parameters
- 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.
Return Value
Character
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.
Example
The following displays the third RGB color pair from color scheme number 4.
В | Copy Code |
---|---|
CLEAR ? RGBSCHEME(4,3) |