How to use White to Yellow Gradient Generator
- Choose white as the start colour and yellow as the end colour.
- Set the angle and the gradient type, then preview it live.
- Copy the CSS or download the gradient as a PNG.
White to Yellow gradient CSS
A white to yellow gradient blends #F9FAFB into #EAB308. The angle sets the direction of the blend.
The CSS below is a 135-degree linear gradient. Change the angle in the tool to rotate it.
background: linear-gradient(135deg, #F9FAFB 0%, #EAB308 100%);
Gradient types
Linear gradients blend in a straight line, radial gradients blend out from a centre point, and conic gradients blend around a circle.
For text, apply the gradient to the background and clip it to the text.
FAQ
What is the CSS for a white to yellow gradient?
Use background: linear-gradient(135deg, #F9FAFB 0%, #EAB308 100%);
Can I download the gradient as an image?
Yes. Use the download button to save a PNG of the gradient.
Will the gradient print well?
Gradients print best on a solid background. Test a print before using one on a large area.
Can I add more colours?
Yes. Add a middle stop in the tool to blend through a third colour.