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