Color dialogs let the user select a color in an easy way. The principal property you use of these dialogs is the Color property, which returns a Color object, ready for use. You can see a color dialog box at work in Figure 9.6.
In Figure 9.6, I've opened the color dialog fully (by clicking Define Custom Colors) to let the user define their own colors with color values and hue, saturation, and luminosity. If you set the AllowFullOpen property to False, on the other hand, the Define Custom Colors button is disabled and the user can select colors only from the predefined colors in the palette. Note also that if you set the SolidColorOnly property to True, the user can select only solid (not dithered) colors.