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