labChroma
labChroma(
lab):number
Defined in: packages/math-color/src/models/lab.ts:29
Computes the chroma (C*) of a Lab-family colour — the Euclidean distance from the neutral axis in the a–b plane. Equivalent for OKLab and CIE L_a_b*.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”number