Gegenfeld

Gradient Generator

Create beautiful CSS gradients visually. Perfect for backgrounds, buttons, and modern web design.

Preview

Gradient Settings

Color Stops

%
%

Vanilla CSS

background: linear-gradient(90deg, #3B82F6 0%, #8B5CF6 100%);

Presets

The generated CSS can be directly used in your stylesheets. For best browser compatibility, consider using vendor prefixes or a CSS preprocessor.

Sponsored

Powered by APImage

The AI-API for images. Generate, edit, and enhance images on the fly.

Learn more

Creating Stunning Gradients

CSS gradients allow you to display smooth transitions between two or more colors. They're perfect for creating modern, eye-catching designs without needing image files.

Gradient Types

  • Linear Gradients: Colors transition in a straight line at a specified angle. Perfect for backgrounds, hero sections, and card designs. You can control the direction with angles (0-360°).
  • Radial Gradients: Colors radiate from a center point outward in a circular pattern. Great for spotlight effects, buttons, and decorative elements.

Color Stops

Color stops define where each color begins and ends in your gradient. You can add multiple stops to create complex, multi-color gradients. Position values range from 0% (start) to 100% (end).

Best Practices

  • Use 2-3 colors for cleaner, more professional gradients
  • Ensure sufficient contrast for text readability
  • Test gradients in both light and dark modes
  • Consider using CSS variables for easy theming
  • Use gradients sparingly for maximum impact

FAQ