Heed the advice of clang static analysis.
Realtime color refinement.
Convert all associated objects to use constants.