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