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