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