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