Huebook

Cold and Dark to Dark Soul Gradient

CSS

background: linear-gradient(90deg, #154250 0%, #112255 100%);

From Cold and Dark (#154250) to Dark Soul (#112255). The two hues are 31° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Cold and Dark#15425021, 66, 80194°, 58%, 20%74, 18, 0, 69
25% (near Cold and Dark)#143A5120, 58, 81203°, 60%, 20%75, 28, 0, 68
50% (near Midnight Ocean)#13325319, 50, 83211°, 63%, 20%77, 40, 0, 67
75% (near Dark Soul)#122A5418, 42, 84218°, 65%, 20%79, 50, 0, 67
Dark Soul#11225517, 34, 85225°, 67%, 20%80, 60, 0, 67

Halfway along, the gradient is #133253, closest to the named color Midnight Ocean. 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.39: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 Cold and Dark to Dark Soul gradient?

It starts at #154250 (Cold and Dark) and ends at #112255 (Dark Soul), with #133253 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #154250, #112255) runs from Dark Soul on the left to Cold and Dark on the right.