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