So for a 2d platformer can i have the ground be a solid color plane which might look like a rectangle and the background be a solid color as well?
Yes, that is in the rules:
Exception: One flat ground plane or floor is permitted for gameplay purposes. Solid-colored or gradient backgrounds are also allowed.