COLOR Command: Windows

Specifies the color and highlighting of selected portions of a window.

Windows specifics: affected window components


Required Argument


specifies the area of the window or the type of text whose color is to be changed.

Optional Arguments


specifies a color for the window or for selected portions of the window.


changes the color to the next available color. The value of NEXT is based on the most recent color entered. The order of the colors depends on your monitor.


specifies the highlighting attribute.


Under Windows, you cannot use the COLOR command to change the colors of the following display components: border, menu bar, pop-up menu background, and title bar. Use the Windows Control Panel to change the colors of these display components.
In addition, the HIGHLIGHT and BLINK highlight attributes are not supported for any Windows window component.

See Also

Other COLOR commands in the SAS Help and Documentation