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