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