I am wondering if there is a difference in the maximum absorbed wavelength of light if nitrobenzene is added to an acidic or basic solution.
I've figured that resonance plays a part in some structures like phenol, where the electron density in the benzene ring increases when in basic solution and therefore the energy required to go from a $\pi$ to $\pi^*$ orbital decreases and thus $\lambda_{\text{max}}$ increases. But could resonance play a role in nitrobenzene too? And if it does, how?