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