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