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