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