The deposition of colloidal particles on smooth solids