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