Mojito to Frozen Civilization Gradient
CSS
background: linear-gradient(90deg, #e4f3e0 0%, #e1f5e5 100%);
From Mojito (#E4F3E0) to Frozen Civilization (#E1F5E5). The two hues are 25° 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 | |
|---|---|---|---|---|---|
| Mojito | #E4F3E0 | 228, 243, 224 | 107°, 44%, 92% | 6, 0, 8, 5 | |
| 25% (near Mojito) | #E3F4E1 | 227, 244, 225 | 114°, 46%, 92% | 7, 0, 8, 4 | |
| 50% (near Frozen Civilization) | #E3F4E3 | 227, 244, 227 | 120°, 44%, 92% | 7, 0, 7, 4 | |
| 75% (near Frozen Civilization) | #E2F5E4 | 226, 245, 228 | 126°, 49%, 92% | 8, 0, 7, 4 | |
| Frozen Civilization | #E1F5E5 | 225, 245, 229 | 132°, 50%, 92% | 8, 0, 7, 4 |
Halfway along, the gradient is #E3F4E3, closest to the named color Frozen Civilization. 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
- Top to bottom:
linear-gradient(180deg, #e4f3e0, #e1f5e5) - Diagonal:
linear-gradient(135deg, #e4f3e0, #e1f5e5) - Radial, from the center out:
radial-gradient(circle, #e4f3e0, #e1f5e5) - Tailwind CSS:
bg-gradient-to-r from-[#e4f3e0] to-[#e1f5e5]
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 Mojito to Frozen Civilization gradient?
It starts at #E4F3E0 (Mojito) and ends at #E1F5E5 (Frozen Civilization), with #E3F4E3 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #e4f3e0, #e1f5e5) runs from Frozen Civilization on the left to Mojito on the right.