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