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