Rhodamine based colorimetric and fluorescent probe for recognition