Skip to content

Color

Bases: NamedTuple

An RGBA color with 8-bit (0-255) channels.

Source code in src/py_premiere/models/color.py
class Color(NamedTuple):
    """An RGBA color with 8-bit (`0`-`255`) channels."""

    red: int
    green: int
    blue: int
    alpha: int = 255

Attributes

alpha class-attribute instance-attribute

alpha = 255

blue instance-attribute

blue

green instance-attribute

green

red instance-attribute

red