def as_html(self):

        r, g, b, a = self.get_saturate() * 255.
        return "#%02X%02X%02X"%(r, g, b)
Returns the color encoded as an html style string.
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/gameobjects/color.py/ColorRGBA.as_html