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