Getting pixels array

I’ve been trying to access the pixels[] array of the background, but loadPixels() returns the error: The pixels array is not available in this renderer withouth a backing bitmap. I’ve also tried to use get() but it returns: Attempt to read from null array.

Surely the background is just one color and you can easily know what that color is without having to use get()/loadPixels().

Please Post some Code, so that we can See where a possible Problem lies.