from_single_value_rgb method

from_single_value_rgb

Creates a fully opaque (A=255) color from single value, which will be applied to all channels

Returns

New Argb32Color instance

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

See Also