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