def METHOD_NAME(self, color_string):
    """ Convert a color string from a string into an ascii escape code that
    will print that color on the terminal.
    Positional arguments:
    color_string - the string to parse
    """
    match = re.match(self.COLOR_MATCHER, color_string)
    if match:
        return self.COLORS[match.group(1)] + \
            (self.COLORS[match.group(2).strip().replace(" ", "_")]
             if match.group(2) else "")
    else:
        return self.COLORS['default']