Text this: Hydrogen bonding to the electron accepting group controls the absorption spectrum of a push–pull stilbene adsorbed on amorphous silica.