It sounds like you are wanting to create a new theme. Maybe search through the source for XPLASTIK, BOOMY etc to try to work out how they change the background colour of the toolbars.
It looks like the XPM are used in conjunction with a corresponding .c file which is an encoded PNG.
It looks like the XPM are used in conjunction with a corresponding .c file which is an encoded PNG.
