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