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