from_rgb method

from_rgb

Creates one Argb32Color value from specified Red, Green, Blue channels, while Alpha channel is fully opaque

Returns

New Argb32Color value

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

See Also