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