# xyzToLab

fun xyzToLab(@Size(value = 3) xyz: DoubleArray, @Size(value = 3) xyzRef: DoubleArray): DoubleArray

Takes CIEXYZ value and its reference white to calculate CIELAB value. xyz and xyzRef can be either unity (0 - 1) or scaled (0 - 100) input, but both vectors must be the same scale. (IE - if xyz is unity scale, xyzRef must also be unity scale)

#### Return

CIELAB value (element order L, a, b)

#### Parameters

xyz

CIEXYZ value (element order X, Y, Z)

xyzRef

reference white (element order X, Y, Z).