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