a numeric Nx3 matrix with CIE XYZ coordinates in the rows, or a vector that can be converted to such a matrix, by row.
The XYZ are for viewing in an environment with Illuminant D65 (from the sRGB standard)
with Y=100.
maxValue
maximum value of sRGB for display.
Other popular values are 1, 1023, and 65535..
Even when 1, they are still taken to be non-linear display values.
Value
a data.frame with N rows and these columns
sRGB
non-linear sRGB coordinates. All values are clamped to the appropriate cube, e.g. \([0,255]^3\).
Values are not rounded.
OutOfGamutFlag
logical vector, TRUE means the result was out of gamut (the cube)
before clamping it