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