Duotone
Map colors to two tones based on luminance
Props
Prop
Details
colorAstringDefault:
#ff0000First color (used for darker areas)
colorAstringDefault: #ff0000First color (used for darker areas)
colorBstringDefault:
#023af4Second color (used for brighter areas)
colorBstringDefault: #023af4Second color (used for brighter areas)
blendnumberDefault:
0.5Blend point between the two colors
blendnumberDefault: 0.5Blend point between the two colors
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default:
linearColor space for color interpolation
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"Default: linearColor space for color interpolation