Eyeball to Wedding in White Gradient
CSS
background: linear-gradient(90deg, #fffbf8 0%, #fffee5 100%);
From Eyeball (#FFFBF8) to Wedding in White (#FFFEE5). The two hues are 32° 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 | |
|---|---|---|---|---|---|
| Eyeball | #FFFBF8 | 255, 251, 248 | 26°, 100%, 99% | 0, 2, 3, 0 | |
| 25% (near Sugar Milk) | #FFFCF3 | 255, 252, 243 | 45°, 100%, 98% | 0, 1, 5, 0 | |
| 50% (near Ivory) | #FFFDEF | 255, 253, 239 | 53°, 100%, 97% | 0, 1, 6, 0 | |
| 75% (near Sparkling Cider) | #FFFDEA | 255, 253, 234 | 54°, 100%, 96% | 0, 1, 8, 0 | |
| Wedding in White | #FFFEE5 | 255, 254, 229 | 58°, 100%, 95% | 0, 0, 10, 0 |
Halfway along, the gradient is #FFFDEF, closest to the named color Ivory. 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, #fffbf8, #fffee5) - Diagonal:
linear-gradient(135deg, #fffbf8, #fffee5) - Radial, from the center out:
radial-gradient(circle, #fffbf8, #fffee5) - Tailwind CSS:
bg-gradient-to-r from-[#fffbf8] to-[#fffee5]
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 Eyeball to Wedding in White gradient?
It starts at #FFFBF8 (Eyeball) and ends at #FFFEE5 (Wedding in White), with #FFFDEF in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fffbf8, #fffee5) runs from Wedding in White on the left to Eyeball on the right.