Try out the script with this demo form
Select color from Web safe palette:
Select color from Windows system palette:
Select color from Mac OS palette:
Select color from grayscale palette:
Picker reads initial value from the input: