STRCOLOR

Purpose:

Returns the name of the color corresponding to the input argument.

Syntax:

STRCOLOR(color)

color

-

An integer. Any pre-defined macro name or supported integer color value.

Returns:

A string.

Example:

strcolor(1)

 

returns the string BLUE.

 

strcolor(getwcolor(W1))

 

returns the color of Window 1 as a string.

Remarks:

See COLORSTR to convert a color name into a color index.

 

See DEFCOLOR to define a new color.

See Also:

COLORSTR

COLORTORGB

DEFCOLOR

GETWCOLOR

RGBTOCOLOR

WEBCOLORS

WINCOLOR