Skip to content

lchHueDistance

lchHueDistance<S>(a, b): number

Defined in: packages/math-color/src/models/lch.ts:27

Hue-angle distance between two LCH-family colours in the same space. Range [0, 180°]. Ignores lightness and chroma.

Unreliable for achromatic inputs (C ≈ 0) — filter those out upstream.

S extends string

InSpace<LchCoords, S>

InSpace<LchCoords, S>

number