'Replace ansi colors with html color class names.  Let the
client choose how it will display colors, if it wishes to.
Args:
text (str): the string with color to replace.
Returns:
text (str): Re-colored text.'

def re_color(self, text):

    text = self.re_fgs.sub(self._sub_fg, text)
    text = self.re_bgs.sub(self._sub_bg, text)
    text = self.re_normal.sub('', text)
    return text
