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