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