Allow individual layers to render their own background color

Instead of relying on a scene-wide background color, all layers can now
have their own background color.
Would it be better to make a helper function to do this color conversion?