How is insertional inactivation of an enzyme used as a selectable marker to differentiate recombinants from non-recombinants?

The presence of chromogenic substrate gives blue coloured colonies, in presence of $\alpha $–galactosidase.Presence of an insert (recombinant DNA) results into inactivation of the enzyme, colonies with inactivation of $\alpha $-galactosidase do not produce any colour.