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.
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%.
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).
Do not rely on shadow extrusion alone to indicate clickable controls; pair Soft-UI buttons with high-contrast icon/label ink.
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.
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.