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