Colors are validated and shown on canvases according to Tk color list, but inserted into SVG with the same color codes, some of which are not listed in CSS color list, that is used in SVG.
Possible solution: check named colors according to CSS color table and paint canvases using named colors' RBG codes