Tricolore - v0.1.0
    Preparing search index...

    Interface TricoloreOptions

    Options for the tricolore color mapping

    interface TricoloreOptions {
        breaks?: number;
        center?: TernaryPoint;
        chroma?: number;
        contrast?: number;
        discrete?: boolean;
        hue?: number;
        lightness?: number;
        spread?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    breaks?: number

    Number of breaks in the discrete color scale (default: 4)

    center?: TernaryPoint

    Center of the ternary color scale (default: [1/3, 1/3, 1/3])

    chroma?: number

    Maximum chroma for the colors [0-200]

    contrast?: number

    Contrast of the color scale [0-1]

    discrete?: boolean

    Whether to use discrete color mapping (default: false)

    hue?: number

    Primary hue for the color scale in degrees [0-360]

    lightness?: number

    Lightness of the colors [0-100]

    spread?: number

    Spread of the color scale around center (>0)