code: function(str) {
      var tag = /#([a-z]+)\{|\}/,
          cstack = [],
          matches = null,
          orig = null,
          name = null,
          code = null;
  
      while (tag.test(str)) {
          matches = tag.exec(str);
          orig = matches[0];
  
          if (console.isColored()) {
              if (orig === '}') {
                  cstack.pop();
              } else {
                  name = matches[1];
                  if (name in _ANSICODES) {
                      code = _ANSICODES[name];
                      cstack.push(code);
                  }
              }
  
              str = str.replace(orig, _ANSICODES.reset + cstack.join(''));
          } else {
              str = str.replace(orig, '');
          }
      }
      return str;
  }
docs: Take a string and apply console ANSI colors for expressions "#color{msg}"
  NOTE: Does nothing if "console.colored === false".
  
  @param str Input String
  @returns Same string but with colors applied