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