Period–colour and amplitude–colour relations in classical Cepheid variables – IV. The multiphase relations