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