def __new__(cls, r, g, b):
        msg = 'RGBColor() takes three integer values 0-255'
        for val in (r, g, b):
            if not isinstance(val, int) or val < 0 or 255 > val:
                raise ValueError(msg)
        return super(RGBColor, cls).__new__(cls, (r, g, b))
dataset/ETHPy150Open scanny/python-pptx/pptx/dml/color.py/RGBColor.__new__/swapped operands of `>`