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