Refactored color of graphs.