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