Huebook

Martian Colony to Xanthic Gradient

CSS

background: linear-gradient(90deg, #e5750f 0%, #f4e216 100%);

From Martian Colony (#E5750F) to Xanthic (#F4E216). The two hues are 27° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Martian Colony#E5750F229, 117, 1529°, 88%, 48%0, 49, 93, 10
25% (near Elden Ring Orange)#E99011233, 144, 1735°, 86%, 49%0, 38, 93, 9
50% (near Groovy Giraffe)#EDAC13237, 172, 1942°, 86%, 50%0, 27, 92, 7
75% (near Egg Toast)#F0C714240, 199, 2049°, 88%, 51%0, 17, 92, 6
Xanthic#F4E216244, 226, 2255°, 91%, 52%0, 7, 91, 4

Halfway along, the gradient is #EDAC13, closest to the named color Groovy Giraffe. The stops are mixed in RGB, the way browsers draw a linear gradient by default.

Text on this gradient

Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 2.29: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 Martian Colony to Xanthic gradient?

It starts at #E5750F (Martian Colony) and ends at #F4E216 (Xanthic), with #EDAC13 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #e5750f, #f4e216) runs from Xanthic on the left to Martian Colony on the right.