A colorimetric assay for ultrasensitive detection of copper (II) ions based on pH-dependent formation of heavily doped molybdenum oxide nanosheets.