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