Tools51

CSS & UI STUDIO GUIDE

How to design soft extruded and inset CSS neumorphism surfaces

Calculate matched highlight and umbra dual shadows from any mid-tone surface color.

Generate balanced dual-shadow Soft-UI cards, tactile rotary dials, and pressed inset wells across 4 light-source angles in light and dark themes.

Follow the guide
Before Harsh Single Drop Shadow
CSS Neumorphism Generator unstyled HTML before — Harsh Single Drop Shadow
Mismatched white box with a single dark shadow that floats instead of extruding.
After Balanced Dual Soft-UI
CSS Neumorphism Generator styled CSS result after — Balanced Dual Soft-UI
Continuous #eee9ff surface with paired opposite-corner highlight and umbra shadows.
QUICK VIDEO TUTORIAL How to design soft extruded and inset CSS neumorphism surfaces Calculate matched highlight and umbra dual shadows from any mid-tone surface color. Watch the video

How to design soft extruded and inset CSS neumorphism surfaces

01

Select a surface profile and base hue

Open CSS Neumorphism Generator and compare Soft Ceramic Extruded, Convex Lavender Pillow, Braun Rotary Dial, Concave Dish, Pressed Inset Well, and Dark Graphite presets.

Click Customize to configure light direction and shadow intensity.

02

Balance shadow distance, blur, and contrast

In Text, choose Light source corner (Top-Left 145° is standard) and Surface profile.

In Shadow, keep Shadow blur roughly 2× Shadow distance (e.g. 10px distance, 20px blur) and set Contrast intensity between 14% and 20%.

Never use #FFFFFF or #000000 as baseColor

Pure white cannot cast a brighter highlight shadow, and pure black cannot cast a darker umbra—always pick a soft off-white (#ebedf5) or dark graphite (#1e2230).

Ensure WCAG contrast on labels and icons

Do not rely on shadow extrusion alone to indicate clickable controls; pair Soft-UI buttons with high-contrast icon/label ink.

03

Copy matched parent + element CSS

Neumorphism requires the parent container to use the exact same baseColor as the element itself.

Copy :root variables (--surface, --shadow-dark, --shadow-light) or Vanilla CSS.

Ready to use CSS Neumorphism Generator?

Open CSS Neumorphism Generator in your browser—100% private on your device with zero sign-up and copy-ready CSS, HTML, :root tokens, and Tailwind code. Related CSS studios: CSS Box Shadow Generator, CSS Checkbox & Toggle Generator, CSS Button Generator.

Open CSS Neumorphism Generator
Common questions

CSS Neumorphism Generator FAQs

Practical frontend details for accessible, cross-browser CSS output.

How does Convex differ from Concave?

Convex adds a subtle 145° bright-to-dark linear-gradient for a domed pillow look; Concave reverses the gradient for a scooped dish.

How do I animate an extruded button into a pressed state?

Switch to the Pressed inset shadow pair on :active or input:checked so the button appears physically pushed into the surface.

Does neumorphism work in dark mode?

Yes—choose a dark slate base (#1e2230) with ~28% intensity so subtle top-left highlights catch the rim.

Image detail

Language38

EnglishالعربيةFrançaisItalianoDeutschEspañolPortuguêsNederlandsРусскийTürkçe日本語中文हिन्दीBahasa IndonesiaBahasa Melayu한국어Tiếng ViệtไทยPolskiSvenskaУкраїнськаNorskবাংলাΕλληνικάفارسیاردوČeštinaDanskMagyarRomânăSuomiБългарскиFilipinoქართულიSlovenčinaAzərbaycancaעבריתSlovenščina