How to Create a Neumorphism (Soft UI) Effect in CSS

Published September 15, 2026 · 2 min read

Neumorphism — the soft, seemingly-extruded "soft UI" look — relies on two offsetting shadows, one lighter and one darker than the base color, positioned on opposite corners. This tool computes the correct shadow colors automatically from your base color and lets you preview raised or pressed states.

Try Neumorphism Generator

Steps

  1. 1

    Open the Neumorphism Generator

    Go to the neumorphism generator.

  2. 2

    Choose a base color

    Pick the element's background color — light, muted colors work best for this effect.

  3. 3

    Set distance, blur and intensity

    Adjust how far the shadows sit from the element and how pronounced the light/dark contrast is.

  4. 4

    Choose raised or pressed

    Pick whether the element should look like it's popping out or pressed in.

Frequently asked questions

Because the shadow math happens automatically, you get correctly balanced neumorphic shadows without manually picking two separate colors by trial and error.

← Back to blog