White points, adaptation and encoding
Named white points, chromatic adaptation matrices, transfer functions, RGB primaries, RGB-to-XYZ matrices, and the general 3x3 matrix helpers.
CAM16 with custom viewing conditions
Build CAM16 viewing conditions from a named or numeric white point and convert xyz to the full CAM16 attributes or any of the eight CAM16 spaces.