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