Huebook

Spacescape to Stormy Night Gradient

CSS

background: linear-gradient(90deg, #222255 0%, #372354 100%);

From Spacescape (#222255) to Stormy Night (#372354). The two hues are 24° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Spacescape#22225534, 34, 85240°, 43%, 23%60, 60, 0, 67
25% (near Spacescape)#27225539, 34, 85246°, 43%, 23%54, 60, 0, 67
50% (near Pāua)#2D235545, 35, 85252°, 42%, 24%47, 59, 0, 67
75% (near Stormy Night)#32235450, 35, 84258°, 41%, 23%40, 58, 0, 67
Stormy Night#37235455, 35, 84264°, 41%, 23%35, 58, 0, 67

Halfway along, the gradient is #2D2355, closest to the named color Pāua. 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.07: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 Spacescape to Stormy Night gradient?

It starts at #222255 (Spacescape) and ends at #372354 (Stormy Night), with #2D2355 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #222255, #372354) runs from Stormy Night on the left to Spacescape on the right.