Toggle Sidebar B
Light & dark mode D

Tritone

Map colors to three tones: shadows, midtones, highlights

Map colors to three tones: shadows, midtones, highlights

Props

PropTypeDefaultDescription
colorAcolor#ce1beaFirst color (used for shadows/darkest areas)
colorBcolor#2fff00Second color (used for midtones)
colorCcolor#ffff00Third color (used for highlights/brightest areas)
blendMidrange0.5Midpoint position between the three colors
colorSpace"linear" | "oklch" | "oklab" | "hsl" | "hsv" | "lch"linearColor space for color interpolation

Usage

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