Text objects also include background color

This commit also outputs the background color of a `text` object. Thereby fixing (part?) of issue #259.