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