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