Endless Galaxy to Your Darkness Gradient
CSS
background: linear-gradient(90deg, #000044 0%, #220044 100%);
From Endless Galaxy (#000044) to Your Darkness (#220044). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Endless Galaxy | #000044 | 0, 0, 68 | 240°, 100%, 13% | 100, 100, 0, 73 | |
| 25% (near Endless Galaxy) | #090044 | 9, 0, 68 | 248°, 100%, 13% | 87, 100, 0, 73 | |
| 50% (near Silent Twilight) | #110044 | 17, 0, 68 | 255°, 100%, 13% | 75, 100, 0, 73 | |
| 75% (near Your Darkness) | #1A0044 | 26, 0, 68 | 263°, 100%, 13% | 62, 100, 0, 73 | |
| Your Darkness | #220044 | 34, 0, 68 | 270°, 100%, 13% | 50, 100, 0, 73 |
Halfway along, the gradient is #110044, closest to the named color Silent Twilight. 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.06:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #000044, #220044) - Diagonal:
linear-gradient(135deg, #000044, #220044) - Radial, from the center out:
radial-gradient(circle, #000044, #220044) - Tailwind CSS:
bg-gradient-to-r from-[#000044] to-[#220044]
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 Endless Galaxy to Your Darkness gradient?
It starts at #000044 (Endless Galaxy) and ends at #220044 (Your Darkness), with #110044 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #000044, #220044) runs from Your Darkness on the left to Endless Galaxy on the right.