The replacement, within chromatin, of resident histones or histone subunits with alternative, sometimes variant, histones or subunits.