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