Petrol CSS Gradient — Copy the Code

Dark petrol blue into vivid spring green, slick and modern. Copy the Petrol gradient as CSS, a custom property, or a Tailwind theme block, and check its text contrast.

Petrol CSS

background: linear-gradient(140deg in oklch, rgba(15, 52, 67, 1) 0%, rgba(52, 232, 158, 1) 100%);

Color stops

  • #0F3443 at 0% (100% opacity)
  • #34E89E at 100% (100% opacity)

Edit this gradient · Browse all gradients · Check text over gradients