Etymology of "Pass with flying colors"

Posted by Monoson on October 31, 2000

Does anyone know the derivation of the phrase "Pass with flying colors"? Thanks!