Anodic oxidation of the writing electrode and reaction of the generated ions with a color intermediate present in the electrolyte, for instance anodic oxidation of a silver electrode and reduction into metal of the silver ions by a reducing agent such as pyrogallol or ascorbic acid, or anodic oxidation of an iron electrode and generation of a color-lake by reaction of the iron ions with pyrocatech