Color picker and modeler save xml function

I am able to successfully add a color module to the editor, however the saved xml string does not conatin reference to any colors. So the xml when loaded in the editor again is colorless. Please help.

Please put up a project that shows your usage of the color picker on somewhere, for example on GitHub.

This way we can reproduce your issue and help you, eventually.