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