Command: color

Syntax

color <name>{,<red>{,<green>{,<blue>}}}

or

color <name> = <ident>

Description

Create or redefine a color identifier.

Parameters

Switches

Notes

Color identifiers can have global or application scope, but cannot have local scope. When local color identifiers are required, string identifiers should be used to reference the colors by name.

The available X Windows colors can be found in the file $MXSYS/etc/rgb.txt, but note that the red, green and color components in the file are in the range 0 through 255.

Examples

color reddish,100,10,10
color deep_cyan,0,35,90
color grod, -xc='goldenrod'
color my_red = red

See Also

Commands:

linestyle

Identifiers:

scope (atable)

Structures:

color