Color Chooser Dialog

The Color Chooser Dialog box has a color display rectangle showing the current color. From the color type drop down list, users can access the following five options: CMYK, Gray Scale, Named, RGB, and Web Color.

CMYK

When the color type is 'CMYK' (Cyan, Magenta, Yellow, Black) four sliders appear with text boxes displaying values from 0 to 1. When a slider or text box value is changed, the new color appears in the color display rectangle. CMYK colors are stored in the DLEX file using the text "cmyk" followed by the four decimal color values separated by commas, enclosed within parentheses. i.e. "cmyk(0, 0.1, 0.5, 0)".

Gray Scale

When the color type is 'Gray Scale' (different levels of black and white colors) a slider appears with a text box displaying values 0 to 1. When the slider or text box value is changed, the new color appears in the color display rectangle.

Named

When the color type is 'Named', a select box appears with the lists of color names within the table. Selected colors are displayed in the sample rectangle. Named colors are stored in the DLEX file by name, with the first letter lower case, and the first letter of new words capitalized. i.e. "darkBlue".

RGB

When the color type is 'RGB' (Red, Green, Blue) three sliders appear with text boxes displaying values from 0 to 1. When a slider or text box value is changed, the new color appears in the color display rectangle. RGB colors are stored in the DLEX file using the text "rgb" followed by the three decimal color values separated by commas, enclosed within parentheses. i.e. "rgb(0, 0.1, 0.5)".

Web Color

When the color type is 'Web Color' a text box displays the web color hex value. When the text box value is changed, the new color will appear in the color display rectangle. Web Colors are stored in the DLEX file with a pound sign followed by the hex color value. i.e. "#00FF80".

In this topic