MMColor

Create and enhance color elements

<- Back to MMColor function list

MMColor_ShowColorPicker

Description

This function will show the system Color Picker allowing the user to select a color from it. It returns the HexColor representation of the chosen color. To start the Color Picker with a specific color, specify the StartHexColor parameter. If the user cancels the Color Picker, the StartHexColor is returned if it was specified, otherwise it returns nothing.

Return Type
Text (HexColor)
Format
MMColor_ShowColorPicker ( StartHexColor )
Optional Parameters
  • StartHexColor

    The initial Color for the Color Picker dialog.

Example

Code:

MMColor_ShowColorPicker("00FFFF")

Result:

Shows the system Color Picker dialog starting with a Cyan color.