Dark Void to Back in Black Gradient
CSS
background: linear-gradient(90deg, #151517 0%, #16141c 100%);
From Dark Void (#151517) to Back in Black (#16141C). The two hues are 15° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Dark Void | #151517 | 21, 21, 23 | 240°, 5%, 9% | 9, 9, 0, 91 | |
| 25% (near Dark Void) | #151518 | 21, 21, 24 | 240°, 7%, 9% | 12, 12, 0, 91 | |
| 50% (near Back in Black) | #16151A | 22, 21, 26 | 252°, 11%, 9% | 15, 19, 0, 90 | |
| 75% (near Back in Black) | #16141B | 22, 20, 27 | 257°, 15%, 9% | 19, 26, 0, 89 | |
| Back in Black | #16141C | 22, 20, 28 | 255°, 17%, 9% | 21, 29, 0, 89 |
Halfway along, the gradient is #16151A, closest to the named color Back in Black. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.00:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #151517, #16141c) - Diagonal:
linear-gradient(135deg, #151517, #16141c) - Radial, from the center out:
radial-gradient(circle, #151517, #16141c) - Tailwind CSS:
bg-gradient-to-r from-[#151517] to-[#16141c]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Dark Void to Back in Black gradient?
It starts at #151517 (Dark Void) and ends at #16141C (Back in Black), with #16151A in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #151517, #16141c) runs from Back in Black on the left to Dark Void on the right.