Open Design Tokens
    Preparing search index...

    Interface ColorValue

    interface ColorValue {
        alpha?: number;
        colorSpace:
            | "srgb"
            | "srgb-linear"
            | "hsl"
            | "hwb"
            | "lab"
            | "lch"
            | "oklab"
            | "oklch"
            | "display-p3"
            | "a98-rgb"
            | "prophoto-rgb"
            | "rec2020"
            | "xyz-d65"
            | "xyz-d50";
        components: [ColorComponent, ColorComponent, ColorComponent];
        hex?: string;
    }
    Index
    alpha?: number
    colorSpace:
        | "srgb"
        | "srgb-linear"
        | "hsl"
        | "hwb"
        | "lab"
        | "lch"
        | "oklab"
        | "oklch"
        | "display-p3"
        | "a98-rgb"
        | "prophoto-rgb"
        | "rec2020"
        | "xyz-d65"
        | "xyz-d50"
    hex?: string

    Fallback sRGB hex (#rrggbb).