Huebook

Neptune’s Dream to Alone in the Dark Gradient

CSS

background: linear-gradient(90deg, #003368 0%, #000066 100%);

From Neptune’s Dream (#003368) to Alone in the Dark (#000066). The two hues are 29° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Neptune’s Dream#0033680, 51, 104211°, 100%, 20%100, 51, 0, 59
25% (near Deep Sea Nightmare)#0026680, 38, 104218°, 100%, 20%100, 63, 0, 59
50% (near Midnight Melancholia)#001A670, 26, 103225°, 100%, 20%100, 75, 0, 60
75% (near Alone in the Dark)#000D670, 13, 103232°, 100%, 20%100, 87, 0, 60
Alone in the Dark#0000660, 0, 102240°, 100%, 20%100, 100, 0, 60

Halfway along, the gradient is #001A67, closest to the named color Midnight Melancholia. 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.40: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.

Questions

What are the HEX codes of the Neptune’s Dream to Alone in the Dark gradient?

It starts at #003368 (Neptune’s Dream) and ends at #000066 (Alone in the Dark), with #001A67 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #003368, #000066) runs from Alone in the Dark on the left to Neptune’s Dream on the right.