dicarboxylic anhydride of the respective dye moiety with an aminoalcohol an aminoacid ester or a diamine comprising the respective spacer in a polar aprotic solvent the hydroxy carboxylic acid ester or amino group on the free end of the spacer can be reacted into a polymer network e g polyurethane polyester or aminoformaldehyde resin to obtain such colored polymer resins the dye compound is mixed into a respective reactive mixture comprising isocyanates or formaldehyde and optionally other carboxy hydroxy or amine functionalized compounds before the reaction is carried out the polyreactions to obtain polyurethane polyester or aminoformaldehyde resins are well known in the art the dye compounds according to the invention may be used for dyeing dyeable materials such as homo or mixed synthetic semi synthetic or natural polymers e g acrylonitrile polyester polyurethane polyamide wool leather cotton bast fibers such as hemp flax sisal jute coir and straw regenerated cellulose fibers glass or glass products comprising glass fibers and substrates comprising cellulose for example paper and cotton they may also be used for printing fibers filaments and textiles comprising any of the above mentioned materials in accordance with known methods the compounds of the present invention may be further used in the preparation of inks e g ink jet inks in accordance with conventional methods the colored polymer resins are suitable for the mass pigmentation of synthetic resins e g polyurethane masses polyester or aminoformaldehyde resins the obtained resins are suitable as colorants in powders and powder coating materials especially in triboelectrically or electrokinetically sprayable.