Don't want to learn Bootstrap classes? Go to Bootstrap builder for busy developers.

Bootstrap class: .navbar-dark bg-dark

<nav class="navbar navbar-dark bg-dark">
  <!-- Navbar content -->
</nav>

<nav class="navbar navbar-dark bg-primary">
  <!-- Navbar content -->
</nav>

Preview