Huebook

In the Dark to Sanctum of Shadows Gradient

CSS

background: linear-gradient(90deg, #3b3c41 0%, #3c2f4e 100%);

From In the Dark (#3B3C41) to Sanctum of Shadows (#3C2F4E). The two hues are 35° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
In the Dark#3B3C4159, 60, 65230°, 5%, 24%9, 8, 0, 75
25% (near In the Dark)#3B394459, 57, 68251°, 9%, 25%13, 16, 0, 73
50% (near Royal Decree)#3C364860, 54, 72260°, 14%, 25%17, 25, 0, 72
75% (near Sanctum of Shadows)#3C324B60, 50, 75264°, 20%, 25%20, 33, 0, 71
Sanctum of Shadows#3C2F4E60, 47, 78265°, 25%, 25%23, 40, 0, 69

Halfway along, the gradient is #3C3648, closest to the named color Royal Decree. 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.12: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 In the Dark to Sanctum of Shadows gradient?

It starts at #3B3C41 (In the Dark) and ends at #3C2F4E (Sanctum of Shadows), with #3C3648 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3b3c41, #3c2f4e) runs from Sanctum of Shadows on the left to In the Dark on the right.