Every level has a snail and a hole. Kick the snail into the hole and your pants switch to a new colour.
It is a purely cosmetic reward, but it is the only way to cycle through the palette, so it is worth doing on each level as you pass through.