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