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