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