White gradients
White gradients are subtle by design: they fade from pure white into a very light gray, cream, icy blue or blush, adding gentle depth to cards, backgrounds and product shots without drawing attention. They're the quiet workhorses of clean, minimal websites, and they keep pages from feeling flat while staying bright. Because every color in a white gradient is light, dark text is the only choice, and it stays readable across the whole gradient. Watch the far end: if a white gradient fades into a mid gray, contrast drops. Each gradient below shows its CSS, the text color that reads best across it and its worst-case contrast. Open any of them in the gradient generator to fine-tune the colors.
6 white gradients with CSS code
- Soft Paper
Soft Paper
background: linear-gradient(180deg, #FFFFFF 0%, #F4F4F4 100%);Black text passes AA, at worst 19.09:1.
- Cloud
Cloud
background: linear-gradient(135deg, #FFFFFF 0%, #E3EEF7 100%);Black text passes AA, at worst 17.83:1.
- Cream Fade
Cream Fade
background: linear-gradient(180deg, #FFFFFF 0%, #FFFDD0 100%);Black text passes AA, at worst 20.21:1.
- Blush Light
Blush Light
background: linear-gradient(135deg, #FFFFFF 0%, #FFE4EA 100%);Black text passes AA, at worst 17.53:1.
- Silver Edge
Silver Edge
background: linear-gradient(160deg, #FFFFFF 0%, #DCDCDC 100%);Black text passes AA, at worst 15.31:1.
- Frost
Frost
background: linear-gradient(90deg, #F5FBFF 0%, #FFFFFF 50%, #EEF2F7 100%);Black text passes AA, at worst 18.67:1.