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