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