Refactored color codes.