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