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