Grandma’s Cameo to Star Dust Gradient
CSS
background: linear-gradient(90deg, #f7e7dd 0%, #f9f3dd 100%);
From Grandma’s Cameo (#F7E7DD) to Star Dust (#F9F3DD). The two hues are 24° 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 | |
|---|---|---|---|---|---|
| Grandma’s Cameo | #F7E7DD | 247, 231, 221 | 23°, 62%, 92% | 0, 6, 11, 3 | |
| 25% (near Grandma’s Cameo) | #F8EADD | 248, 234, 221 | 29°, 66%, 92% | 0, 6, 11, 3 | |
| 50% (near Birch White) | #F8EDDD | 248, 237, 221 | 36°, 66%, 92% | 0, 4, 11, 3 | |
| 75% (near Exclusive Elixir) | #F9F0DD | 249, 240, 221 | 41°, 70%, 92% | 0, 4, 11, 2 | |
| Star Dust | #F9F3DD | 249, 243, 221 | 47°, 70%, 92% | 0, 2, 11, 2 |
Halfway along, the gradient is #F8EDDD, closest to the named color Birch White. 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.08:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f7e7dd, #f9f3dd) - Diagonal:
linear-gradient(135deg, #f7e7dd, #f9f3dd) - Radial, from the center out:
radial-gradient(circle, #f7e7dd, #f9f3dd) - Tailwind CSS:
bg-gradient-to-r from-[#f7e7dd] to-[#f9f3dd]
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 Grandma’s Cameo to Star Dust gradient?
It starts at #F7E7DD (Grandma’s Cameo) and ends at #F9F3DD (Star Dust), with #F8EDDD in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f7e7dd, #f9f3dd) runs from Star Dust on the left to Grandma’s Cameo on the right.