class RgbaCssValue extends AbstractBean<RgbaCssValue> {

    public void setG(final int g) {
        if (g < 0 || g > 255) {
            throw new InvalidValueException(
                    "g paramater accept values only from 0 to 255.");
        }
        this.g = g;
        rgba = "rgba(" + r + ", " + g + ", " + b + ", " + a + ")";
        if (getStateChangeInformer() != null) {
            getStateChangeInformer().stateChanged(this);
        }
    }

    public  RgbaCssValue();
    public  RgbaCssValue(final String rgbaCssValue);
    public  RgbaCssValue(final RgbaCssValue rgbaCssValue);
    public  RgbaCssValue(final int r, final int g, final int b, final float a);

}