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