@classmethod
    def grey(self, level):

        level = level * 1.0
        c = cls.__new__(cls, object)
        c._c = [level, level, level, 1.0]
        return c
Creates a 'grey' color.
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/gameobjects/color.py/ColorRGBA.grey