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