A colorimetric chemosensor for sensitive and selective detection of copper(II) ions based on catalytic oxidation of 1-naphthylamine.