Code Lanterns

Guess the three-color code in six guesses. Feedback gives exact and misplaced colors.