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