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