For this example, let's assume that you use the scomail program frequently and want to quickly distinguish its window from other windows on your screen. A good way to do this is to change the colors that are used by the scomail window without changing the colors that all other windows use.
This example covers how an individual user can make this kind of color change without changing colors in the current palette. It is not recommended that a system administrator change colors on a system-wide level in this fashion, because possible colormap conflicts may arise for users.
The following steps result in a scomail client that displays colors that are unique from those used by the rest of the Graphical Environment.
These resource specifications tell the X server that the
background of the scomail window should be
blue and the background of the window frame should
be yellow when the scomail window is active.
With these color settings, your scomail
window will always be easy to distinguish.