Added compatibility with symphony 2.2 while keeping 2.3 compatibility and added rgb attrubte in decimal to the output

The rgb in decimal could be usefull with custom css when using rgba or for javascript use. The data is not stored in the database but calculated at each datasource render. Also, corrected the background color not visible in symphony 2.2