EN

Black Gradients

Black gradients with ready-to-copy CSS. Download any of them as a PNG background (1920×1080) or open it in the gradient generator to change the colors and angle. Dark gradients add depth to hero sections and dark-mode designs; use white or light gray text.

Charcoal Fade

background: #1D4750;
background: linear-gradient(90deg, #1D4750 0%, #303336 50%, #251837 100%);
Open in gradient generator

Obsidian

background: #18292A;
background: linear-gradient(135deg, #18292A 0%, #252426 50%, #12031D 100%);
Open in gradient generator

Night Sky

background: #2D2E49;
background: linear-gradient(45deg, #2D2E49 0%, #00191D 50%, #000F14 100%);
Open in gradient generator

Graphite

background: #2F393B;
background: linear-gradient(180deg, #2F393B 0%, #233348 50%, #090614 100%);
Open in gradient generator

Ink Wash

background: #2F2F30;
background: linear-gradient(120deg, #2F2F30 0%, #00040C 100%);
Open in gradient generator

Deep Space

background: #29393E;
background: linear-gradient(160deg, #29393E 0%, #141929 50%, #000306 100%);
Open in gradient generator

Smoke

background: #2A3338;
background: linear-gradient(225deg, #2A3338 0%, #21293A 33%, #18121D 67%, #060009 100%);
Open in gradient generator

Onyx

background: #43435A;
background: linear-gradient(315deg, #43435A 0%, #020202 100%);
Open in gradient generator

How to use a CSS gradient as a background

Paste the copied CSS into the rule for your element, for example .hero { … }. The first line is a solid fallback color; the second is the gradient. To cover the whole page, put it on body with min-height: 100vh. For text on top, check the lightest and darkest part of the gradient with the contrast checker.

Want different colors or a radial or conic version? Open any gradient in the CSS gradient generator. Matching palettes: color palettes.

More gradients