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

    Interface HSVColor

    Represents a color in the HSV color space.

    HSV (Hue, Saturation, Value) is a cylindrical color model that rearranges the RGB color model to be more intuitive for color selection.

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

    Hierarchy (View Summary)

    Index

    Properties

    alpha?: number

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

    h: number

    The hue component (0-360 degrees)

    s: number

    The saturation component (0-1)

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

    The value component (0-1)