 // MARK: - Colors
 
 extension View {
-    /// Sets the color that the view uses for foreground elements.
-    @_disfavoredOverload
-    public func foregroundColor(_ color: UIColor) -> some View {
-        foregroundColor(Color(color))
+    /// Sets the background color behind this view.
+    public func backgroundColor(_ color: Color, ignoresSafeAreaEdges edges: Edge.Set = .all) -> some View {
+        background(
+            color
+                .ignoresSafeArea(edges: edges)
+        )
     }
 
     /// Sets the background color behind this view.

        }
    }
}

        )
    }

    /// Sets the color that the view uses for foreground elements.
    @_disfavoredOverload
    public func foregroundColor(_ color: UIColor) -> some View {
        foregroundColor(Color(color))
    }
}

