We report that common erythrosin B can be used as a dual-mode fluorescent and colorimetric sensor for Ag+, Hg2+ and Fe3+, and further for halide ions in aqueous solution based on erythrosin B complexation with the three metal ions.