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