Your goal is to find the secret four-color code. The following colors are possible: purple, yellow, red, blue, green, white.
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: ['purple', 'yellow', 'white', 'green']. Hint: two colors are in the correct positions.
Guess: ['purple', 'purple', 'yellow', 'yellow']. Hint: one color is in the correct position and one color is in the secret code but in the wrong position.
Guess: ['purple', 'green', 'green', 'red']. Hint: two colors are in the correct positions.
Guess: ['purple', 'yellow', 'red', 'red']. Hint: three colors are in the correct positions.
A B C D
white, red, yellow, red purple, yellow, blue, red white, yellow, green, yellow red, white, purple, white