I have two simple heterocycles that contain a ketone group. Both these compounds are colourless. The analogous thiones are yellow in dilute solution but are deeply colored in the solid state, one red the other green. Can anyone explain why the thiones are so coloured and why their color deepens so intensely in the solid state?