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