kolor.js
function HSVA_TO_HSLA() {
        var h = this.h();
        var s = this.s();
        var v = this.v();
        var a = this.a();

        var l = (2 - s) * v;
        var sl = s * v;
        sl /= (l <= 1) ? l : 2 - l;
        sl = sl || 0;
        l /= 2;
        return kolor.hsla(h, sl, l, a);
    }
function HSVA_TO_HSLA() {
        var h = this.h();
        var s = this.s();
        var v = this.v();
        var a = this.a();

        var l = (2 - s) * v;
        var sl = s * v;
        sl /= (l <= 1) ? l : 2 - l;
        sl = sl || 0;
        l /= 2;
        return kolor.hsla(h, sl, l, a);
    }
function HSVA_TO_HSLA ( ) { var h = this . h ( ) ; var s = this . s ( ) ; var v = this . v ( ) ; var a = this . a ( ) ; var l = ( 2 - s ) * v ; var sl = s * v ; sl /= ( l <= 1 ) ? l : 2 - l ; sl = sl || 0 ; l /= 2 ; return kolor . hsla ( h , sl , l , a ) ; }
Converts HSVA color to HSLA.
Converts HSVA color to HSLA .