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: ['black', 'red', 'green', 'white']. Hint: three colors are in the secret code but in the wrong positions.
Guess: ['white', 'white', 'black', 'yellow']. Hint: two colors are in the secret code but in the wrong positions.
Guess: ['yellow', 'black', 'black', 'red']. Hint: one color is in the correct position.
Guess: ['purple', 'black', 'white', 'green']. 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
green, black, white, purple purple, purple, yellow, yellow yellow, yellow, white, red white, red, yellow, white