code: function(s) { 
              var f = this.hex2dec;
              return [f(s.slice(0, 2)), f(s.slice(2, 4)), f(s.slice(4, 6))];
          }
docs: Converts a hex string to rgb
  @method hex2rgb
  @param str {string} the hex string
  @return {[int, int, int]} an array containing the rgb values