Your goal is to find the secret four-color code. The following colors are possible: red, green, white, blue, purple, yellow.
Some guesses have already been made. I will provide feedback for each guess made with which it is possible to unambigiously determine the secret code.

Previous Guesses:
Guess: ['white', 'blue', 'purple', 'red']. Hint: three colors are in the secret code but in the wrong positions.
Guess: ['red', 'red', 'white', 'green']. Hint: two colors are in the correct positions.
Guess: ['red', 'purple', 'white', 'yellow']. Hint: one color is in the correct position and two colors are in the secret code but in the wrong position.
Guess: ['purple', 'red', 'white', 'white']. Hint: two colors are in the correct positions.
A B C D
purple, green, green, white green, purple, blue, red yellow, red, white, blue purple, red, green, yellow