@jsfkit/types
    Preparing search index...

    Type Alias HslColor

    Hue / saturation / lightness.

    Hue, saturation and lightness follow CSS Color Level 4 conventions, but using the range (0-100) rather than (0-1).

    type HslColor = {
        hue: number;
        lightness: number;
        saturation: number;
        type: "hsl";
    }
    Index

    Properties

    hue: number

    Degrees (0-360). Must be positive.

    lightness: number

    Percentage.

    saturation: number

    Percentage.

    type: "hsl"