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