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