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