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