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