Class Color (3.11.0)

Color(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a color in the RGB color space.

Attributes

NameDescription
red float
The amount of red in the color as a value in the interval [0, 1].
green float
The amount of green in the color as a value in the interval [0, 1].
blue float
The amount of blue in the color as a value in the interval [0, 1].