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