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