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