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