# adaptXyz

fun adaptXyz(@Size(value = 3) xyzIn: DoubleArray, @Size(value = 3) refIn: DoubleArray, @Size(value = 3) refOut: DoubleArray): DoubleArray

Adapts colour in XYZ from one reference white to another using Bradford adaptation method. NOTE: refIn, refOut, xyzIn must all be on the same scale

#### Return

Adapted color, referenced to refOut (element order X, Y, Z)

#### Parameters

xyzIn

Source color, referenced to refIn (element order X, Y, Z)

refIn

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

refOut

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