to_rgb method

to_rgb

Serializes this Argb32Color instance to the ‘rgb’ CSS function notation. Alpha channel of this color will be omitted during serialization.

Returns

A string in ‘rgb(r, g, b)’ format

def to_rgb(self):
    ...

See Also