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