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