Huebook

Cinder to Eclipse Elixir Gradient

CSS

background: linear-gradient(90deg, #242a2e 0%, #1f2133 100%);

From Cinder (#242A2E) to Eclipse Elixir (#1F2133). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Cinder#242A2E36, 42, 46204°, 12%, 16%22, 9, 0, 82
25% (near Infinity)#23282F35, 40, 47215°, 15%, 16%26, 15, 0, 82
50% (near Infinity)#22263134, 38, 49224°, 18%, 16%31, 22, 0, 81
75% (near Black Velvet)#20233232, 35, 50230°, 22%, 16%36, 30, 0, 80
Eclipse Elixir#1F213331, 33, 51234°, 24%, 16%39, 35, 0, 80

Halfway along, the gradient is #222631, closest to the named color Infinity. 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.09: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 Cinder to Eclipse Elixir gradient?

It starts at #242A2E (Cinder) and ends at #1F2133 (Eclipse Elixir), with #222631 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #242a2e, #1f2133) runs from Eclipse Elixir on the left to Cinder on the right.