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