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.
Type Parameters
Section titled “Type Parameters”S extends string
Parameters
Section titled “Parameters”Returns
Section titled “Returns”number