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