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