Skip to content
Musterli

Dark

Espresso gradient

Warm coffee brown to near black, subtle and dark.

Customize in the editor

Change angle, shape and colors, then export as CSS, SVG or PNG.

Colors

The color stops of the gradient. Click a value to copy it.

  1. Color 1

    Text in white, contrast 8.5:1

  2. Color 2

    Text in white, contrast 18.1:1

Code

Paste the lines into your element's rule. The first line is a fallback color, the second the gradient for every browser, the third interpolates in OKLCH for modern browsers.

CSS

background-color: #634632;
background-image: linear-gradient(160deg, #634632 0%, #614431 11.11%, #5b3f2e 22.22%, #513829 33.33%, #452f24 44.44%, #39271e 55.56%, #2e1f18 66.67%, #261813 77.78%, #201410 88.89%, #1e130f 100%);
background-image: linear-gradient(160deg in oklch, #634632 0%, #614431 11.11%, #5b3f2e 22.22%, #513829 33.33%, #452f24 44.44%, #39271e 55.56%, #2e1f18 66.67%, #261813 77.78%, #201410 88.89%, #1e130f 100%);

Tailwind

bg-[#634632] bg-[linear-gradient(160deg,_#634632_0%,_#614431_11.11%,_#5b3f2e_22.22%,_#513829_33.33%,_#452f24_44.44%,_#39271e_55.56%,_#2e1f18_66.67%,_#261813_77.78%,_#201410_88.89%,_#1e130f_100%)]

Take the gradient further

The same colors in other generators. Each card opens the editor with these colors.

Keep working with the colors

Turn the color stops into a palette or a full color scale.

How to use this gradient

Copy the CSS into the rule of the element that should carry the gradient, for example a section, a card or a button. For text on top, pick a text color with enough contrast on every color stop; the values next to the colors help you with that. In the editor you change angle, shape and easing and can also export the gradient as an image.

All gradients
  • Observatory

    A deep night blue that lightens from the top.

  • Fir Forest

    Dark fir green fading almost to black, calm and refined.

  • Deep Sea

    From petrol blue into darkness, ideal behind light text.

  • Volcano

    Glowing orange at the bottom edge, fading upwards into charred darkness.

  • Sea of Fog

    Pale, almost neutral gray with a touch of blue, like fog over the lowlands.