Interface IColorRgba

Immutable RGBA color interface. Represents a color with red, green, blue, and alpha components. All components are readonly and cannot be modified after creation.

interface IColorRgba {
    a: number;
    b: number;
    g: number;
    r: number;
}

Implemented by

Properties

a b g r

Properties

a: number

Alpha (transparency) component of the color (0.0 to 1.0)

b: number

Blue component of the color (0.0 to 1.0)

g: number

Green component of the color (0.0 to 1.0)

r: number

Red component of the color (0.0 to 1.0)