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