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