public void setL(final float l) {
        if (l < 0 || l > 100) {
            throw new InvalidValueException(
                    "l paramater accept values only from 0 to 100.");
        }
        this.l = l;
        hsl = "hsla(" + h + ", " + s + "%, " + l + "%, " + a + ")";
        if (getStateChangeInformer() != null) {
            getStateChangeInformer().stateChanged(this);
        }
    }
public void setL ( final float l ) { if ( l < 0 || l > 100 ) { throw new InvalidValueException ( "l paramater accept values only from 0 to 100." ) ; } this . l = l ; hsl = "hsla(" + h + ", " + s + "%, " + l + "%, " + a + ")" ; if ( getStateChangeInformer ( ) != null ) { getStateChangeInformer ( ) . stateChanged ( this ) ; } }
@param l
the lightness value, it should be in between 0 to 100.
@author WFF
@since 1.0.0