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