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