# deltaECmc

fun deltaECmc(@Size(value = 3) lab1: DoubleArray, @Size(value = 3) lab2: DoubleArray, l: Double, c: Double): Double

Takes two CIELAB values and calculates color difference (dE) using CMC(l:c) formula. Depends on model parameters l and c; common values used are CMC(2:1) for acceptability and CMC(1:1) for perceptibility. 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 (CMC) value

#### Parameters

lab1

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

lab2

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

l

model parameter l

c

model parameter c