To come off with flying colors

to be victorious; to succeed thoroughly in an undertaking.

See also: Flying

Webster's Revised Unabridged Dictionary, published 1913 by G. & C. Merriam Co.