Charcoal Fade
background: #1D4750; background: linear-gradient(90deg, #1D4750 0%, #303336 50%, #251837 100%);
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.
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.