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