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