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