code: def colorize(text, color):
      
  
      escape_code = getattr(AnsiEscapeCodes, color, None)
      if escape_code is None:
          raise foundations.exceptions.AnsiEscapeCodeExistsError(
              "'{0}' | '{1}' 'ANSI' escape code name doesn't exists!".format(
                  inspect.getmodulename(__file__), color))
  
      return "{0}{1}{2}".format(escape_code, text, AnsiEscapeCodes.reset)
docs: Colorizes given text using given color.
  
      :param text: Text to colorize.
      :type text: unicode
      :param color: *ANSI* escape code name.
      :type color: unicode
      :return: Colorized text.
      :rtype: unicode