weasel API - v0.8.0
    Preparing search index...

    Function lerpOklch

    • Lerp OKLCh values with shortest-arc hue interpolation. Lightness and chroma lerp linearly. When chroma is near zero on either endpoint, hue is taken from the other endpoint (avoids hue snap-from-undefined). h inputs are in radians.

      Parameters

      • from: readonly [number, number, number]
      • to: readonly [number, number, number]
      • t: number

      Returns [number, number, number]