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