C++ accessor label coloring