Skip to content

lchToLab

lchToLab<S>(value): InSpace<LabCoords, S>

Defined in: packages/math-color/src/conversions/lab-lch.ts:36

Converts any LCH-family colour (CIE L_C_h degrees or OKLch) back to its Cartesian Lab representation, preserving the correct paired space brand.

S extends string

InSpace<LchCoords, S>

InSpace<LabCoords, S>