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