6 to 10 red yellow red yellow.
So repeat it every five times.
So the twentieth color is the fifth color: yellow.
So the 27th one is the color of the 2nd one: yellow.