A method for producing colored patterns or images including the steps of(1) forming a polymer layer containing a dissolved pigment precursor component (a), a polymer or a natural or synthetic resin material (b') and optionally a catalyst for pigment formation (c), and (2) locally regenerating the pigment from the above soluble precursor by chemical, photolytical or thermal means, or by laser or ot