@dragonspark/chroma-kit
    Preparing search index...

    Interface LChColor

    Represents a color in the CIE LCh color space.

    The CIE LCh color space is a cylindrical representation of the Lab color space, using Lightness, Chroma, and hue components. This makes it more intuitive for color adjustments as it separates color into perceptually meaningful components.

    interface LChColor {
        alpha?: number;
        c: number;
        h: number;
        illuminant?: Illuminant;
        l: number;
        space: "lch";
        to: <
            T extends
                | "rgb"
                | "hwb"
                | "hsl"
                | "hsv"
                | "xyz"
                | "lab"
                | "lch"
                | "oklab"
                | "oklch"
                | "jzazbz"
                | "jzczhz",
        >(
            colorSpace: T,
        ) => CreatedColor<T>;
        toCSSString: () => string;
        toString: () => string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    alpha?: number

    The alpha (opacity) component (0-1), optional

    c: number

    The chroma (saturation/colorfulness) component

    h: number

    The hue angle in degrees (0-360)

    illuminant?: Illuminant
    l: number

    The lightness component (0-100)

    space: "lch"
    to: <
        T extends
            | "rgb"
            | "hwb"
            | "hsl"
            | "hsv"
            | "xyz"
            | "lab"
            | "lch"
            | "oklab"
            | "oklch"
            | "jzazbz"
            | "jzczhz",
    >(
        colorSpace: T,
    ) => CreatedColor<T>
    toCSSString: () => string
    toString: () => string