# adaptXyz

public final DoubleArray adaptXyz(@Size(value = 3) DoubleArray xyzIn, @Size(value = 3) DoubleArray refIn, @Size(value = 3) DoubleArray refOut)

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)