Holy Ghost to Marshmallow Gradient
CSS
background: linear-gradient(90deg, #efe9e6 0%, #f0eee4 100%);
From Holy Ghost (#EFE9E6) to Marshmallow (#F0EEE4). 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
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Holy Ghost | #EFE9E6 | 239, 233, 230 | 20°, 22%, 92% | 0, 3, 4, 6 | |
| 25% (near Holy Ghost) | #EFEAE6 | 239, 234, 230 | 27°, 22%, 92% | 0, 2, 4, 6 | |
| 50% (near Cow’s Milk) | #F0ECE5 | 240, 236, 229 | 38°, 27%, 92% | 0, 2, 5, 6 | |
| 75% (near Cow’s Milk) | #F0EDE5 | 240, 237, 229 | 44°, 27%, 92% | 0, 1, 5, 6 | |
| Marshmallow | #F0EEE4 | 240, 238, 228 | 50°, 29%, 92% | 0, 1, 5, 6 |
Halfway along, the gradient is #F0ECE5, closest to the named color Cow’s Milk. 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.03:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #efe9e6, #f0eee4) - Diagonal:
linear-gradient(135deg, #efe9e6, #f0eee4) - Radial, from the center out:
radial-gradient(circle, #efe9e6, #f0eee4) - Tailwind CSS:
bg-gradient-to-r from-[#efe9e6] to-[#f0eee4]
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 Holy Ghost to Marshmallow gradient?
It starts at #EFE9E6 (Holy Ghost) and ends at #F0EEE4 (Marshmallow), with #F0ECE5 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #efe9e6, #f0eee4) runs from Marshmallow on the left to Holy Ghost on the right.