Description
A control for selecting a color.
Parameters
key
: A string representing the key to store the selected color value.value
: The initial color value in hex format (e.g., “#FF0000”).Example
<body>
<form>
<colorpicker key="selectedColor" value="#FFA500">Choose a color</colorpicker>
<text>Selected color: $selectedColor</text>
</form>
</body>