# sRgbToXyz

public final DoubleArray sRgbToXyz(@Size(value = 3) IntArray sRgb, @Size(value = 3) DoubleArray refOut)

Calculates XYZ from sRGB value.

#### Return

3: XYZ value, unity scale, with reference white refOut (element order X, Y, Z)

#### Parameters

sRgb

3: Non-linear sRGB value, 0-255 scale (element order R, G, B)

refOut

3: Selected reference white of output XYZ color, unity scale (element order Xref, Yref, Zref)