Huebook

Black Stallion to Midnight Edition Gradient

CSS

background: linear-gradient(90deg, #0e191c 0%, #0c121b 100%);

From Black Stallion (#0E191C) to Midnight Edition (#0C121B). The two hues are 23° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Black Stallion#0E191C14, 25, 28193°, 33%, 8%50, 11, 0, 89
25% (near Black Stallion)#0E171C14, 23, 28201°, 33%, 8%50, 18, 0, 89
50% (near Black Stallion)#0D161C13, 22, 28204°, 37%, 8%54, 21, 0, 89
75% (near Midnight Edition)#0D141B13, 20, 27210°, 35%, 8%52, 26, 0, 89
Midnight Edition#0C121B12, 18, 27216°, 38%, 8%56, 33, 0, 89

Halfway along, the gradient is #0D161C, closest to the named color Black Stallion. 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.05: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 Black Stallion to Midnight Edition gradient?

It starts at #0E191C (Black Stallion) and ends at #0C121B (Midnight Edition), with #0D161C in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #0e191c, #0c121b) runs from Midnight Edition on the left to Black Stallion on the right.