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