Functionality to get background color of element

Fixes #8