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