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