kolor.js
function REMOVE_ALPHA() {
        var space = this.space();
        var channels = SPACES[space].channels;
        var result = [];

        var l = channels.length;
        for (var i = 0; i < l - 1; i++) {
            result.push(this[channels[i].name]());
        }
        return new kolor[space.slice(0, -1)](result);
    }
function REMOVE_ALPHA() {
        var space = this.space();
        var channels = SPACES[space].channels;
        var result = [];

        var l = channels.length;
        for (var i = 0; i < l - 1; i++) {
            result.push(this[channels[i].name]());
        }
        return new kolor[space.slice(0, -1)](result);
    }
function REMOVE_ALPHA ( ) { var space = this . space ( ) ; var channels = SPACES [ space ] . channels ; var result = [ ] ; var l = channels . length ; for ( var i = 0 ; i < l - 1 ; i ++ ) { result . push ( this [ channels [ i ] . name ] ( ) ) ; } return new kolor [ space . slice ( 0 , - 1 ) ] ( result ) ; }
Produces a new color object by removing alpha channel from the old one.
Produces a new color object by removing alpha channel from the old one .