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