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