ContentsIndexPreviousNext

COLOR_MODEL*

This variable is typically used when a character-based application is moved to a graphical environment. Use the COLOR_MODEL setting to perform uniform changes to your program's color scheme. These changes are represented by rules that act on your colors. An example of a rule is "exchange the foreground and background colors". Use COLOR_MODEL to change your color scheme in a global way.

The default color model is model "0". It causes no changes to occur to your color scheme. The remaining 10 models are "1" through "10"

Each color model is actually a composite; it's the equivalent of two or more runtime configuration variable settings: