with flying colors, pass with

pass (something) with flying colors

To win, achieve, or accomplish something exceptionally well or very successfully. Said especially of a test, examination, or training of some kind. Samantha was rather nervous taking her final exam, but she passed with flying colors! Your brother passed his apprenticeship with flying colors. He'll be a master builder in no time!
See also: color, flying, pass

with flying colors, pass with

Also, come through with flying colors. Win, succeed, as in She came through the bar exam with flying colors. This expression alludes to a victorious ship sailing with its flags high. [Late 1600s]
See also: flying, pass