DS didn't have colic, but was very windy and really hard to get to pass it from either end.
I used to hold him upright against my chest with my thumba nd forefinger across his shoulder blades, and my other hand rubbing/patting his back (rubbing worked better for us)
Also lying him flat and doing gentle cycling morions with his legs, or tummy massage, clockwise (important that its clockwise, something to do with digestion)

My mum showed me most of them, because I did have colic as a baby and she said it wouild go on for hours sometimes.