Huebook

Shot in the Dark to Scandinavian Liquorice Gradient

CSS

background: linear-gradient(90deg, #1d0d1d 0%, #1a1110 100%);

From Shot in the Dark (#1D0D1D) to Scandinavian Liquorice (#1A1110). The two hues are 66° apart on the color wheel, so the blend passes through a clearly different middle color.

Colors along the gradient

NameHEXRGBHSLCMYK
Shot in the Dark#1D0D1D29, 13, 29300°, 38%, 8%0, 55, 0, 89
25% (near Shot in the Dark)#1C0E1A28, 14, 26309°, 33%, 8%0, 50, 7, 89
50% (near Shot in the Dark)#1C0F1728, 15, 23323°, 30%, 8%0, 46, 18, 89
75% (near Scandinavian Liquorice)#1B101327, 16, 19344°, 26%, 8%0, 41, 30, 89
Scandinavian Liquorice#1A111026, 17, 166°, 24%, 8%0, 35, 38, 90

Halfway along, the gradient is #1C0F17, closest to the named color Shot in the Dark. 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.00: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 Shot in the Dark to Scandinavian Liquorice gradient?

It starts at #1D0D1D (Shot in the Dark) and ends at #1A1110 (Scandinavian Liquorice), with #1C0F17 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #1d0d1d, #1a1110) runs from Scandinavian Liquorice on the left to Shot in the Dark on the right.