@classmethod
    def from_rgba8(cls, r, g, b, a=255.0):

        c = cls.__new__(cls, object)
        c._c = [r / 255.0, g / 255.0, b / 255.0, a / 255.0]
        return c
Creates a color object from 4 integer components in 0->255 range.
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/gameobjects/color.py/ColorRGBA.from_rgba8