Huebook

Into the Night to Eternal Darkness Gradient

CSS

background: linear-gradient(90deg, #1e3642 0%, #1c2841 100%);

From Into the Night (#1E3642) to Eternal Darkness (#1C2841). The two hues are 21° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Into the Night#1E364230, 54, 66200°, 38%, 19%55, 18, 0, 74
25% (near Blue Whale)#1E334230, 51, 66205°, 38%, 19%55, 23, 0, 74
50% (near Blue Whale)#1D2F4229, 47, 66211°, 39%, 19%56, 29, 0, 74
75% (near Eternal Darkness)#1D2C4129, 44, 65215°, 38%, 18%55, 32, 0, 75
Eternal Darkness#1C284128, 40, 65221°, 40%, 18%57, 38, 0, 75

Halfway along, the gradient is #1D2F42, closest to the named color Blue Whale. 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.16:1, so the change is gentle.

Other ways to use it

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 Into the Night to Eternal Darkness gradient?

It starts at #1E3642 (Into the Night) and ends at #1C2841 (Eternal Darkness), with #1D2F42 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1e3642, #1c2841) runs from Eternal Darkness on the left to Into the Night on the right.