Dark Eclipse to Deadly Depths Gradient
CSS
background: linear-gradient(90deg, #112244 0%, #111144 100%);
From Dark Eclipse (#112244) to Deadly Depths (#111144). The two hues are 20° 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 Eclipse | #112244 | 17, 34, 68 | 220°, 60%, 17% | 75, 50, 0, 73 | |
| 25% (near Dark Eclipse) | #111E44 | 17, 30, 68 | 225°, 60%, 17% | 75, 56, 0, 73 | |
| 50% (near Dark Eclipse) | #111A44 | 17, 26, 68 | 229°, 60%, 17% | 75, 62, 0, 73 | |
| 75% (near Deadly Depths) | #111544 | 17, 21, 68 | 235°, 60%, 17% | 75, 69, 0, 73 | |
| Deadly Depths | #111144 | 17, 17, 68 | 240°, 60%, 17% | 75, 75, 0, 73 |
Halfway along, the gradient is #111A44, closest to the named color Dark Eclipse. 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.13:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #112244, #111144) - Diagonal:
linear-gradient(135deg, #112244, #111144) - Radial, from the center out:
radial-gradient(circle, #112244, #111144) - Tailwind CSS:
bg-gradient-to-r from-[#112244] to-[#111144]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Dark Eclipse to Deadly Depths gradient?
It starts at #112244 (Dark Eclipse) and ends at #111144 (Deadly Depths), with #111A44 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #112244, #111144) runs from Deadly Depths on the left to Dark Eclipse on the right.