The following figure shows the Windows system color dialog box.
Figure 30. Windows system color dialog box
The Windows color dialog provides several ways to specify a new color:
Custom colors — You can create a palette of 16 custom colors. To specify a color, you select the color box from the 16 available custom colors. The specified color appears in the ColorSolid box. To change a custom color, select one of the Basic Colors, or specify a color by using the Numeric Colors or Visual Colors technique. Each change replaces an existing color in the Custom Colors list.
Numeric colors — You can enter either the Hue, Sat (Saturation), and Lum (Luminosity) values, or the Red–Green–Blue (RGB) values in the fields provided. The specified color appears in the Color|Solid box as you change each number.
Visual colors — You can visually choose the Hue and Sat values by pressing and holding the mouse SELECT button and moving the mouse pointer in the large rainbow square to the color you want. You can visually choose the Lum value by moving the luminosity slider (at right) up or down. For each choice, the specified color appears in the Color|Solid box as you move the mouse.
Clicking the OK button assigns the color that currently appears in the Color|Solid box of the Windows dialog to the dynamic color number specified in your SYSTEM–DIALOG COLOR statement.