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

    Interface JzCzHzColor

    Represents a color in the JzCzHz color space.

    The JzCzHz color space is a cylindrical representation of the JzAzBz color space, using lightness (Jz), chroma (Cz), and hue (Hz) components. This makes it more intuitive for color adjustments as it separates color into perceptually meaningful components.

    interface JzCzHzColor {
        alpha?: number;
        channels: Record<string, ColorChannel>;
        cz: number;
        dynamicRange: "SDR" | "HDR";
        hz: number;
        isPolar: boolean;
        jz: number;
        space: "jzczhz";
        to: <
            T extends
                | "rgb"
                | "p3"
                | "hsl"
                | "hsv"
                | "hwb"
                | "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

    channels: Record<string, ColorChannel>
    cz: number

    The chroma (saturation/colorfulness) component

    dynamicRange: "SDR" | "HDR"
    hz: number

    The hue angle in degrees (0-360)

    isPolar: boolean
    jz: number

    The lightness component

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