to_rgb method

to_rgb

Serializes this Rgb24Color instance to the ‘rgb’ CSS function notation.

Returns

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

def to_rgb(self):
    ...

See Also