A solution of Wilson's loop equation in lattice QCD