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