Electronic spectroscopy of the β-carboline derivatives nitronorharmanes, nitroharmanes, nitroharmines and chloroharmines in homogeneous media and in solid matrix