To come off with flying colors

to be victorious; to succeed thoroughly in an undertaking.

See also: Flying