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