harfbuzzjs
    Preparing search index...

    Interface PaletteColor

    A Color from a font's color palette, together with its name ID.

    interface PaletteColor {
        alpha: number;
        blue: number;
        green: number;
        nameId?: number;
        red: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alpha: number

    Alpha channel value.

    blue: number

    Blue channel value.

    green: number

    Green channel value.

    nameId?: number

    The name table Name ID that provides display names for the color, or undefined if the color has no name.

    Display names can be generic (e.g., "Background") or specific (e.g., "Eye color").

    red: number

    Red channel value.