from_single_value_rgb method

from_single_value_rgb

Creates a fully opaque (A=255) color from a single byte value applied to all channels.

def from_single_value_rgb(cls, value):
    ...
Parameter Type Description
value int A byte value, same for Red, Green, and Blue channels.

Returns: Argb32Color: New Argb32Color instance.

See Also