Displays the operating system's standard color-selection dialog box, in order to select a color. (This dialog box is displayed by the operating system, not by LiveCode.)
answer color [with startingColor]
OS supported: mac,windows,linux
answer color with "#FF0033"
answer color with "AliceBlue"
If you specify a startingColor, the dialog box displays that color by default.
startingColor is a color reference consisting of one of the following:
- a standard color name
- three comma-separated integers between zero and 255, specifying the level of each of red, green, and blue
- an HTML-style color consisting of a hash mark (#) followed by three hexadecimal numbers, one for each of red, green, and blue.
The color is returned in the form of three comma-separated integers between zero and 255, specifying the level of each of red, green, and blue. This format can be used directly to set any color property.