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