code: function rgb2hex(rgbarray) {
      var hex = '#'
      rgbarray.forEach( function (dig) {
        dig = dig.toString(16)
        hex += ("00" + dig).substr( dig.length )
      })
      return hex
    }
docs: /*
  RGBTOHEX
  public
  Takes a length 3 integer array of rgb values where
  0 <= rgbvalue <= 255 and outputs a hexstring