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