Allows you to change any color resource.The Color Editor has two modes:
Color editor modes
· Red, green, and blue color sliders allow you to mix your own custom color.
· A color list allows you to select a named color, generated from /usr/lib/X11/rgb.txt.
If you run out of color cells on your display, the Color Editor displays a message. The correct value is assigned to the resource, and the closest existing color is used for the display.
Using the Color Sliders
Click the (...) button to the right of a color resource (for example, background) to display the Builder Xcessory Color Editor.
Color Editor Displaying Color Sliders
The Color Sliders option is the default. Move the red, green, and blue sliders to mix the color you wish. The color in the Color box changes as you move the sliders. When you click Apply, the selected color is recorded in the Resource Editor and represented as a six-digit hexadecimal number preceded by the pound (#) symbol.
Note: In versions of Motif before 1.1, UIL does not support hexadecimal representation. Using a custom color results in a run-time error in your compiled UIL program. You can write custom colors to app-defaults files.
If you are using Motif version 1.1 or later, you can include custom colors in your UIL files.
Using the Color List
Click the Color List option on the Color Editor to display a scrolled list of available color names: