kolor.js
function CMYK_TO_RGBA() {
        var c = this.c();
        var m = this.m();
        var y = this.y();
        var black = this.b();

        var r = 1 - Math.min(1, c * (1 - black) + black);
        var g = 1 - Math.min(1, m * (1 - black) + black);
        var b = 1 - Math.min(1, y * (1 - black) + black);
        return kolor.rgba(r * 255, g * 255, b * 255, this.a());
    }
function CMYK_TO_RGBA() {
        var c = this.c();
        var m = this.m();
        var y = this.y();
        var black = this.b();

        var r = 1 - Math.min(1, c * (1 - black) + black);
        var g = 1 - Math.min(1, m * (1 - black) + black);
        var b = 1 - Math.min(1, y * (1 - black) + black);
        return kolor.rgba(r * 255, g * 255, b * 255, this.a());
    }
function CMYK_TO_RGBA ( ) { var c = this . c ( ) ; var m = this . m ( ) ; var y = this . y ( ) ; var black = this . b ( ) ; var r = 1 - Math . min ( 1 , c * ( 1 - black ) + black ) ; var g = 1 - Math . min ( 1 , m * ( 1 - black ) + black ) ; var b = 1 - Math . min ( 1 , y * ( 1 - black ) + black ) ; return kolor . rgba ( r * 255 , g * 255 , b * 255 , this . a ( ) ) ; }
Naively converts CMYK color to RGBA.
Naively converts CMYK color to RGBA .