# deltaE94

fun deltaE94(@Size(value = 3) lab1: DoubleArray, @Size(value = 3) lab2: DoubleArray, kL: Double, k1: Double, k2: Double): Double

Takes two CIELAB values and calculates color difference (dE) using CIE1994 formula. Requires weighting factors kL, k1, and k2 which are dependent on application. Use the deltaE94G method for graphic design applications and the deltaE94T for textile applications. NOTE: both CIELAB values must share the same reference white. If they do not: convert to XYZ, adapt, convert back to CIELAB before calculating dE.

#### Return

delta E (1994) value

#### Parameters

lab1

First CIELAB value (element order L, a, b)

lab2

Second CIELAB value (element order L, a, b)

kL

Weighting factor (application dependent)

k1

Weighting factor (application dependent)

k2

Weighting factor (application dependent)