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