A naphthalimide-based fluorescent probe for highly selective detection of histidine in aqueous solution and its application in in vivo imaging.