Flickering Light to Parmesan Gradient
CSS
background: linear-gradient(90deg, #fff1dc 0%, #ffffdd 100%);
From Flickering Light (#FFF1DC) to Parmesan (#FFFFDD). 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 | |
|---|---|---|---|---|---|
| Flickering Light | #FFF1DC | 255, 241, 220 | 36°, 100%, 93% | 0, 5, 14, 0 | |
| 25% (near Buttermelon) | #FFF5DC | 255, 245, 220 | 43°, 100%, 93% | 0, 4, 14, 0 | |
| 50% (near Cornsilk) | #FFF8DD | 255, 248, 221 | 48°, 100%, 93% | 0, 3, 13, 0 | |
| 75% (near Cheesecake) | #FFFCDD | 255, 252, 221 | 55°, 100%, 93% | 0, 1, 13, 0 | |
| Parmesan | #FFFFDD | 255, 255, 221 | 60°, 100%, 93% | 0, 0, 13, 0 |
Halfway along, the gradient is #FFF8DD, closest to the named color Cornsilk. 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.09:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fff1dc, #ffffdd) - Diagonal:
linear-gradient(135deg, #fff1dc, #ffffdd) - Radial, from the center out:
radial-gradient(circle, #fff1dc, #ffffdd) - Tailwind CSS:
bg-gradient-to-r from-[#fff1dc] to-[#ffffdd]
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 Flickering Light to Parmesan gradient?
It starts at #FFF1DC (Flickering Light) and ends at #FFFFDD (Parmesan), with #FFF8DD in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fff1dc, #ffffdd) runs from Parmesan on the left to Flickering Light on the right.