Gardenia to Restful Rain Gradient
CSS
background: linear-gradient(90deg, #f1e8df 0%, #f1f2dd 100%);
From Gardenia (#F1E8DF) to Restful Rain (#F1F2DD). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| Gardenia | #F1E8DF | 241, 232, 223 | 30°, 39%, 91% | 0, 4, 7, 5 | |
| 25% (near Paper Plane) | #F1EBDF | 241, 235, 223 | 40°, 39%, 91% | 0, 2, 7, 5 | |
| 50% (near Paper Plane) | #F1EDDE | 241, 237, 222 | 47°, 40%, 91% | 0, 2, 8, 5 | |
| 75% (near Restful Rain) | #F1F0DE | 241, 240, 222 | 57°, 40%, 91% | 0, 0, 8, 5 | |
| Restful Rain | #F1F2DD | 241, 242, 221 | 63°, 45%, 91% | 0, 0, 9, 5 |
Halfway along, the gradient is #F1EDDE, closest to the named color Paper Plane. 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.07:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f1e8df, #f1f2dd) - Diagonal:
linear-gradient(135deg, #f1e8df, #f1f2dd) - Radial, from the center out:
radial-gradient(circle, #f1e8df, #f1f2dd) - Tailwind CSS:
bg-gradient-to-r from-[#f1e8df] to-[#f1f2dd]
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 Gardenia to Restful Rain gradient?
It starts at #F1E8DF (Gardenia) and ends at #F1F2DD (Restful Rain), with #F1EDDE in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f1e8df, #f1f2dd) runs from Restful Rain on the left to Gardenia on the right.