Glassmorphism Generator

Glassmorphism Generator generates the CSS for a frosted-glass (glassmorphism) effect using a combination of background blur, transparency and a thin border; adjust opacity and blur with sliders on a live preview.

glassmorphism
background: rgba(255, 255, 255, 0.20);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.30);

How it works

  1. 1Pick the background color and its transparency (opacity %).
  2. 2Adjust the background blur (`backdrop-filter: blur()`) with the slider.
  3. 3Add a thin, semi-transparent border and a soft shadow to strengthen the glass feel.
  4. 4Copy the generated CSS block; make sure there's a background/image BEHIND the element.

Frequently asked questions

How does the glassmorphism effect work?+

It's a combination of three things: a semi-transparent background color, blurring the content BEHIND it with `backdrop-filter: blur()`, and a thin, semi-transparent border. Without something visible behind it, the effect falls flat.

Does `backdrop-filter` work in all browsers?+

Supported in the large majority of modern browsers, but missing in some older ones; the tool also provides a fallback that degrades to a plain semi-transparent background when unsupported.

Does the effect impact performance?+

`backdrop-filter: blur()` is GPU-accelerated and usually cheap, but many large blurred elements on the same page can hurt performance on lower-powered devices.

What backgrounds does it look best over?+

It's most visible over colorful, textured or image backgrounds; on a flat single-color background there's no "texture" to blur, so the effect is barely noticeable.

Embed on your site

Size
480 × 360px
<iframe
  src="https://toolsqube.com/en/color/glassmorphism-generator/embed"
  width="480" height="360"
  style="border:0;border-radius:14px"
  title="Glassmorphism Generator · ToolsQube"
  loading="lazy">
</iframe>

Want to go deeper on this topic: Color and Design Guide →

Command Palette

Search for a command to run…