A convenient assay for distinguishing between gram-negative and gram-positive, as well as live versus dead bacteria.