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