How to use it
- Choose the starting and ending colors.
- Select linear or radial and choose a direction for linear gradients.
- Review the preview and copy the CSS declaration.
Search by tool name or category.
No tools found.
Build a two-color linear or radial CSS gradient with a live preview.
Combine two colors into a reusable CSS background declaration without external libraries or remote assets.
Linear output uses linear-gradient with a direction; radial output uses a centered circular radial-gradient.
Blue #3b82f6 and violet #8b5cf6 can produce background: linear-gradient(to right, #3b82f6, #8b5cf6).
Actual appearance depends on element size, surrounding colors and browser rendering. Generated CSS may need adjustment for your layout.