Table of Contents
setValue Method 

Set the current color in web color format. For example, "#ff0000" as red.

Syntax
JavaScript
 ColorPicker.setValue(color)

Parameters

color
The new color. Pass an empty string or a null value to clear the color picker.
See Also