lib/color-hash.js
function(RGBArray) {
    var hex = '#';
    RGBArray.forEach(function(value) {
        if (value < 16) {
            hex += 0;
        }
        hex += value.toString(16);
    });
    return hex;
}
function(RGBArray) {
    var hex = '#';
    RGBArray.forEach(function(value) {
        if (value < 16) {
            hex += 0;
        }
        hex += value.toString(16);
    });
    return hex;
}
function ( RGBArray ) { var hex = '#' ; RGBArray . forEach ( function ( value ) { if ( value < 16 ) { hex += 0 ; } hex += value . toString ( 16 ) ; } ) ; return hex ; }
Convert RGB Array to HEX

@param {Array} RGBArray - [R, G, B]
@returns {String} 6 digits hex starting with #
Convert RGB Array to HEX