4-(8-quinolyl)amino-7-nitro-2,1,3-benzoxadiazole as a new selective and sensitive fluorescent and colorimetric pH probe with dual-responsive ranges in aqueous solutions.