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