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