public void setColor(String color) {
        PrimeSelenium.executeScript(isOnchangeAjaxified(), getWidgetByIdScript() + ".setColor('" + color + "');");
    }
Set the current color using the widget.

@param color the Hex/RGB/HSL color
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/ColorPicker.java