CSS Gradient Generator | linear & radial gradient code and PNG maker

CSS Gradient Generator

Create beautiful gradients with intuitive controls.
Copy the result as CSS code, or download it as a PNG image.

This tool has been used times.

background: linear-gradient(90deg, ...);
Presets
Color Stops

How to Use the CSS Code

Paste the copied code into the CSS of the element you want to style.

Example: applying it to a button
.my-button {
  /* paste it here */
  background: linear-gradient(90deg, #56CCF2, #2F80ED);

  /* other styles */
  color: white;
  border: none;
  font-family: inherit;
}

* It also works as the background-image property.

Tips for Better Gradients

💡
Stick to similar hues
Combining colors with close hues — such as blue and cyan, or red and orange — gives a natural, pleasing gradient.
📐
Mind the angle
For website backgrounds, “135deg (top-left to bottom-right)” and “180deg (top to bottom)” are common, easy-to-use angles.
Be careful with 3+ colors
Too many colors can look muddy. If you’re new to this, start with just two colors.

Please also review the Terms of Use for this web app before using it.

Found a bug or have feedback? Let us know here.

Report bugs, display issues, usability problems, or suggestions for improvement.
Consent
・This form is for bug reports only. In principle, we do not respond to individual submissions.
・If a submission contains defamatory, threatening, or otherwise inappropriate content, we may take appropriate action based on logs such as IP addresses.

よかったらシェアしてね!
  • URLをコピーしました!
  • URLをコピーしました!
目次