The first color in OKLab space
The second color in OKLab space to compare against
Optional
scalingFactor: number = APPRX_OKLAB_SCALINGThe scaling factor to apply to the a and b components
The scaled color difference value (Delta E)
OKLAB_DELTAE_SCALING for predefined scaling factors
Calculates a scaled color difference (Delta E) between two colors in the OKLab color space.
This function applies a scaling factor to the a and b components before calculating the Euclidean distance. This scaling can improve the perceptual uniformity of the color difference calculation for specific use cases.