Add setColors() helper function and cleanup header.

The new function is not used and no changes are intended with this commit.