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