The same thing as flying colors but not quite as well. Usually when you pass a test with a "B".
"How'd you do on the test bro?" "Well... I passed with gliding colors." "What percent tho?" "81%"