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