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