to_rgb method

On this page

to_rgb

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

def to_rgb(self):
    ...

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

See Also

On this page