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