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