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