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