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