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