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