geopackage-sdk/src/main/java/mil/nga/geopackage/extension/style/StyleRow.java
public void setFillColor(Color color) {
        String hex = null;
        Double opacity = null;
        if (color != null) {
            hex = color.getColorHexShorthand();
            opacity = new Double(color.getOpacity());
        }
        setFillColor(hex);
        setFillOpacity(opacity);
    }
public void setFillColor(Color color) {
        String hex = null;
        Double opacity = null;
        if (color != null) {
            hex = color.getColorHexShorthand();
            opacity = new Double(color.getOpacity());
        }
        setFillColor(hex);
        setFillOpacity(opacity);
    }
Set the color

@param color color