Routes to colloidal gel formation