We discuss applications of generating functions for colored graphs to asymptotic expansions of matrix integrals. The described technique provides an asymptotic expansion of the Kontsevich integral. We prove that this expansion is a refinement of the Kontsevich expansion, which is the sum over the set of classes of isomorphic ribbon graphs. This yields a proof of Kontsevich’s results that is independent of the Feynman graph technique.