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