public String getColor() {
        return PrimeSelenium.executeScript("return " + getWidgetByIdScript() + ".getColor();");
    }
Gets the current color from the widget.

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