refactored color logging