Huebook

Ruined Smores to Midnight Oil Gradient

CSS

background: linear-gradient(90deg, #0f1012 0%, #0b0c14 100%);

From Ruined Smores (#0F1012) to Midnight Oil (#0B0C14). The two hues are 13° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Ruined Smores#0F101215, 16, 18220°, 9%, 6%17, 11, 0, 93
25% (near Ruined Smores)#0E0F1314, 15, 19228°, 15%, 6%26, 21, 0, 93
50% (near Midnight Oil)#0D0E1313, 14, 19230°, 19%, 6%32, 26, 0, 93
75% (near Midnight Oil)#0C0D1412, 13, 20233°, 25%, 6%40, 35, 0, 92
Midnight Oil#0B0C1411, 12, 20233°, 29%, 6%45, 40, 0, 92

Halfway along, the gradient is #0D0E13, closest to the named color Midnight Oil. 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.02: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 Ruined Smores to Midnight Oil gradient?

It starts at #0F1012 (Ruined Smores) and ends at #0B0C14 (Midnight Oil), with #0D0E13 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #0f1012, #0b0c14) runs from Midnight Oil on the left to Ruined Smores on the right.