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