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