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