Gradient Generator

CSSグラデーションを視覚的に作成。
Click or press Space to randomize
Angle135°
background: linear-gradient(135deg, #2563EB, #00cec9);

Visual Editor

Create linear and radial gradients.

CSS Output

Copy ready-to-use CSS code.

Copy Result

One-click copy to clipboard.

Client-side

All processing in your browser. No data uploaded.

Gradient Generatorについて

CSS Gradient Generator provides a visual, instant-feedback environment for crafting beautiful linear and radial gradients for use in web projects. Gradients are one of the most versatile CSS features — they can serve as hero backgrounds, button fills, card overlays, text effects, and decorative separators, all without a single image file. Select a gradient type, choose two colors (and optionally an intermediate midpoint color), then adjust the angle for linear gradients or let radial gradients emanate from the center. The live preview updates in real time so you can evaluate the result immediately. When you are satisfied, copy the ready-to-paste CSS property with one click. You can also press the spacebar or click the preview area to generate a random gradient for inspiration.

Gradient Generatorの使い方

  1. Choose "linear" or "radial" gradient type using the toggle buttons.
  2. For linear gradients, drag the Angle slider to control the direction (0° is bottom-to-top, 90° is left-to-right).
  3. Pick Color 1 and Color 2 using the color pickers.
  4. Optionally enable a midpoint color by clicking the "Mid" color picker to add a third stop.
  5. Click the preview area or press Space to randomize the gradient for inspiration.
  6. Click "Copy CSS" to copy the ready-to-use CSS background property to your clipboard.

よくある質問

What CSS property does the tool output?

It outputs a background shorthand property, e.g. background: linear-gradient(135deg, #2563EB, #00cec9);, which you can paste directly into your stylesheet.

Can I use more than two color stops?

Yes — enable the optional midpoint color (Mid picker) to add a third stop between your two primary colors.

What is the difference between linear and radial gradients?

Linear gradients transition colors along a straight line at a set angle. Radial gradients radiate outward from a central point in a circular pattern.

How do I create a diagonal gradient?

Set the type to linear and use an angle like 45° or 135°. The angle represents the direction the gradient travels.

Is the output compatible with all modern browsers?

Yes. The standard linear-gradient() and radial-gradient() functions are supported by all major browsers including Chrome, Firefox, Safari, and Edge.

関連ツール

Color PaletteContrast CheckerColor ConverterBox Shadow Generator
Free Ebook
Top 10 Free Tools Every Developer Needs

Top 10 Free Tools Every Developer Needs

Boost your productivity instantly. Get our exclusive cheatsheet featuring the most essential web utilities you didn't know you needed, delivered straight to your inbox.

We respect your inbox. Unsubscribe at any time.