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