to_string method

On this page

to_string

Serializes this Rgb24Color instance to ‘rgb(r, g, b)’ format.

def to_string(self):
    ...

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

See Also

On this page