The present invention, reaction between the reactive groups of the polymeric compound ii) is selected and the NH 2 group which is covalently bonded directly to the aromatic ring of the dye i), from the group consisting of anhydrides isocyanates, oxazolone, epoxides, and esters comprising the step of applying to the hair a composition comprising a dye polymer obtained by, on method of coloring hair.本発明は、染料i)の芳香環に直接共有結合しているNH2基と、イソシアネート、オキサゾロン、エポキシド、エステルおよび無水物からなる群から選択されるポリマー化合物ii)の反応性基との反応によって得られる染料ポリマーを含む組成物を毛髪に塗布するステップを含む、毛髪の着色方法に関する。