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