Neumorphism (Soft UI) Generator

Neumorphism (Soft UI) Generator automatically calculates light and dark shadows from your chosen background color to produce box-shadow, border-radius and gradient CSS for neumorphism (soft UI) cards. Flat, concave, convex and pressed shapes are supported and the result shows in a live preview.

Shape
border-radius: 24px;
background: #e0e5ec;
box-shadow: 12px 12px 24px #b1bdcf,
            -12px -12px 24px #ffffff;

How it works

  1. 1Pick a background color (light to mid tones work best).
  2. 2Adjust the shape, corner radius, distance, blur and intensity.
  3. 3Copy the CSS with "Copy CSS"; the element's background must match the page background.

Frequently asked questions

Is neumorphism accessible?+

Because of the low contrast, buttons and borders can be hard to see; mind text contrast, focus rings and extra indicators on interactive elements.

Why must the background match the page?+

The effect suggests the element rising from the surface using two shadows of the same hue; a different color breaks the illusion.

Does it work on dark themes?+

Yes, with a dark background the light shadow is computed slightly lighter and the dark shadow darker than the base.

Embed on your site

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

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

Command Palette

Search for a command to run…