a graph of different colors