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