Dark
Fir Forest gradient
Dark fir green fading almost to black, calm and refined.
Customize in the editorChange angle, shape and colors, then export as CSS, SVG or PNG.
Colors
The color stops of the gradient. Click a value to copy it.
Color 1
Text in white, contrast 8.1:1
Color 2
Text in white, contrast 17.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: #255940;
background-image: linear-gradient(180deg, #255940 0%, #23573f 11.11%, #1f523c 22.22%, #184a38 33.33%, #114132 44.44%, #09372b 55.56%, #042e25 66.67%, #012620 77.78%, #00221c 88.89%, #00201b 100%);
background-image: linear-gradient(180deg in oklch, #255940 0%, #23573f 11.11%, #1f523c 22.22%, #184a38 33.33%, #114132 44.44%, #09372b 55.56%, #042e25 66.67%, #012620 77.78%, #00221c 88.89%, #00201b 100%);Tailwind
bg-[#255940] bg-[linear-gradient(180deg,_#255940_0%,_#23573f_11.11%,_#1f523c_22.22%,_#184a38_33.33%,_#114132_44.44%,_#09372b_55.56%,_#042e25_66.67%,_#012620_77.78%,_#00221c_88.89%,_#00201b_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.
Similar gradients
All gradientsDeep Sea
From petrol blue into darkness, ideal behind light text.
Blackberry
Rich berry red and dark violet.
Volcano
Glowing orange at the bottom edge, fading upwards into charred darkness.
Espresso
Warm coffee brown to near black, subtle and dark.
Observatory
A deep night blue that lightens from the top.
Sea of Fog
Pale, almost neutral gray with a touch of blue, like fog over the lowlands.