JavaScript Editor js editor     Web development 

Main Page

Returns a color pair list or a single color pair from a specified color scheme.

SCHEME(nSchemeNumber [, nColorPairNumber])



Specifies the number of the color scheme for which you want a complete color-pair list. SCHEME(В ) returns ten color pairs.

Specifies the position of one color pair in the color scheme, and SCHEME(В ) returns only this color pair. For example, if nColorPairNumber is 4, SCHEME(В ) returns the fourth color pair from the color scheme.

Return Value



The following example returns the third color pair from color scheme number 4:

В Copy Code
? SCHEME(4,3)

See Also

JavaScript Editor js editor     Web development