def _color_name_to_rgb(self, color):
        try:
            rgb = int(color, 16)
        except ValueError:
            raise
        else:
            r = (rgb >> 16) & 0xff
            g = (rgb >> 8) & 0xff
            b = rgb & 0xff
            return r, g, b
Turn 'ffffff', into (0xff, 0xff, 0xff).
dataset/ETHPy150Open jonathanslenders/python-prompt-toolkit/prompt_toolkit/terminal/vt100_output.py/_EscapeCodeCache._color_name_to_rgb