Check out the Water to Wine article on this site. It shows how acid-base indicator color changes are caused by changes in electron confinement. You'll find links on the bottom of the article to several relevant sites (some with Java applets that let you see how electron confinement affects color).
Copyright © 1997-2010 by Fred Senese
Comments & questions to fsenese@frostburg.edu
Last Revised 02/23/18.URL: http://antoine.frostburg.edu/chem/senese/101/quantum/faq/print-electron-confinement-and-color.shtml