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