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