labMix
Defined in: packages/math-color/src/models/lab.ts:41
Linearly interpolates between two Lab-family colours in the same space. Identical geometry for OKLab and CIE L_a_b*.
Type Parameters
Section titled “Type Parameters”S extends string
Parameters
Section titled “Parameters”Start colour (t = 0).
End colour (t = 1).
number
Interpolation factor in [0, 1].