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