niceui

Ocean Gradient

A free linear gradient you can copy as CSS or Tailwind. Sky, ocean and electric blues for tech products and dashboards.

CSS

.ocean-bg {
  background: linear-gradient(160deg, #0c4a6e 0%, #0369a1 50%, #22d3ee 100%);
}

Tailwind CSS

bg-[image:linear-gradient(160deg,#0c4a6e_0%,#0369a1_50%,#22d3ee_100%)]
Edit this gradient in the Gradient MakerMesh, conic and animated shader gradients, grain, PNG export and one-click CSS, Tailwind, React or HTML.

FAQ

How do I use the ocean gradient in CSS?

Set background: linear-gradient(160deg, #0c4a6e 0%, #0369a1 50%, #22d3ee 100%); on any element. It works in every modern browser.

How do I use the ocean gradient in Tailwind?

Use the arbitrary value class bg-[image:linear-gradient(160deg,#0c4a6e_0%,#0369a1_50%,#22d3ee_100%)].

Similar gradients

More: Blue gradientsAll gradients