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