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