This seams like a simple question, but I can’t find the answer anywhere on google.

When a navigation link is in a list, you can change the color of it to blue with:

```
.listRowBackground(Color.blue)

```

But when the navigation link is selected, it turns to systemGray4

[![Image for reference](https://i.stack.imgur.com/VftVJ.jpg)](https://i.stack.imgur.com/VftVJ.jpg)

How do I change the select color of a navigation link in a list

Here is the sample project in the image above:

```
import SwiftUI

struct ContentView: View {
    var body: some View {
        NavigationView {
        List {
            NavigationLink("Hello", destination: Text("hello"))
                .listRowBackground(Color.blue)
            NavigationLink("World", destination: Text("world"))
                .listRowBackground(Color.blue)
        }
        }
    }
}

```