  This note is concerned with the CIECAM02 color appearance model and its
successor, the CAM16 color appearance model. Several algorithmic flaws are
pointed out and remedies are suggested. The resulting color model is
algebraically equivalent to CIECAM02/CAM16, but shorter, more efficient, and
works correctly for all edge cases.
