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