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