Documentation

Tritone

Map colors to three tones: shadows, midtones, highlights

Props

colorAstring
Default:#ce1bea
First color (used for shadows/darkest areas)
colorBstring
Default:#2fff00
Second color (used for midtones)
colorCstring
Default:#ffff00
Third color (used for highlights/brightest areas)
blendMidnumber
Default:0.5
Midpoint position between the three colors
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"
Default:linear
Color space for color interpolation

Usage

<Shader>
  <Tritone>
    <Circle />
  </Tritone>
</Shader>