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