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