@classmethod
def fromrgb(cls, r, g, b, a=1.0):
    """
		Create a :class:`Color` object from the red, green, blue and alpha values
		``r``, ``g``, ``b`` and ``a``. All values will be clipped to the range
		[0; 1].
		"""
    return cls(255 * r, 255 * g, 255 * b, 255 * a)
