Huebook

Full Moon to White Mecca Gradient

CSS

background: linear-gradient(90deg, #f4f3e0 0%, #ecf3e1 100%);

From Full Moon (#F4F3E0) to White Mecca (#ECF3E1). The two hues are 26° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Full Moon#F4F3E0244, 243, 22457°, 48%, 92%0, 0, 8, 4
25% (near Full Moon)#F2F3E0242, 243, 22463°, 44%, 92%0, 0, 8, 5
50% (near White Mecca)#F0F3E1240, 243, 22570°, 43%, 92%1, 0, 7, 5
75% (near White Mecca)#EEF3E1238, 243, 22577°, 43%, 92%2, 0, 7, 5
White Mecca#ECF3E1236, 243, 22583°, 43%, 92%3, 0, 7, 5

Halfway along, the gradient is #F0F3E1, closest to the named color White Mecca. 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 1.01: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 Full Moon to White Mecca gradient?

It starts at #F4F3E0 (Full Moon) and ends at #ECF3E1 (White Mecca), with #F0F3E1 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f4f3e0, #ecf3e1) runs from White Mecca on the left to Full Moon on the right.