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