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