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