limit access to color mode, unit tests