With-flying-colors Definition

adverb
He passed the test with flying colors, as everyone expected.
Wiktionary