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