Function: useNormalizedColor()
ts
function useNormalizedColor(
color: Ref<string | null | undefined>,
fallback: string,
type: "background" | "foreground",
modifiers?: MaybeRefOrGetter<ColorModifier>,
failover?: RGB,
modifyFallback?: boolean,
): ComputedRef<RGB>;Parameters
| Parameter | Type | Default value |
|---|---|---|
color | Ref<string | null | undefined> | undefined |
fallback | string | undefined |
type | "background" | "foreground" | undefined |
modifiers? | MaybeRefOrGetter<ColorModifier> | undefined |
failover? | RGB | ... |
modifyFallback? | boolean | true |