Simple change in producing the colors for the pairs