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