from_rgb method

On this page

from_rgb

Creates a Rgb24Color value from the specified red, green, and blue channel values.

def from_rgb(cls, red, green, blue):
    ...
Parameter Type Description
red int Red channel value.
green int Green channel value.
blue int Blue channel value.

Returns: Rgb24Color: New Rgb24Color value.

See Also

On this page