meo-canvas - v9.0.1
    Preparing search index...

    Interface Rgba

    A colour resolved to sRGB. Channels are 0–255 and alpha is 0–1.

    Channels are floats and may fall outside 0–255: that is how a colour sRGB cannot reach is carried. Display P3's red is r above 255 with g and b slightly negative — extended sRGB, the same colour named in sRGB's coordinates. Clamping here would quietly substitute the duller sRGB red for the one that was asked for.

    interface Rgba {
        a: number;
        b: number;
        g: number;
        r: number;
    }
    Index
    a b g r
    a: number

    Alpha, 0–1, where 0 is fully transparent.

    b: number

    Blue, 0–255.

    g: number

    Green, 0–255.

    r: number

    Red, 0–255.