Neumorphism Generator
Create soft UI neumorphic effects with a live visual editor. Adjust shadows, shapes, and intensity. Copy production-ready CSS.
How to use this tool
- 1Choose a background colour
Pick a background colour for your element. Neumorphism works best with soft, muted colours like light grey (#e0e5ec) or pastel tones.
- 2Adjust shadow properties
Use the sliders to fine-tune shadow distance, blur radius, and intensity. These control how pronounced the raised or pressed effect appears.
- 3Select shape and copy CSS
Choose flat, concave, convex, or pressed. Click the preview element to toggle between raised and pressed states. Then copy the CSS.
Why use neumorphism?
Soft, tactile interface
Neumorphism creates an interface that feels physical and touchable. The subtle shadows make buttons, cards, and inputs look like they are part of the same surface, giving your design a cohesive, calming aesthetic.
Pure CSS, lightweight
The entire effect is achieved with CSS box-shadow and background properties. No images, no JavaScript, and no external libraries. It adds zero weight to your page load and renders instantly.
Four shape variations
Choose flat, concave, convex, or pressed shapes to create raised buttons, inset inputs, toggled switches, and card elements. Each shape uses different shadow and gradient combinations.
How neumorphism works in CSS
Light and dark shadows
Neumorphism uses two box-shadows: one lighter than the background (simulating light hitting the surface) and one darker (simulating the shadow). By adjusting the HSL lightness of the background colour, the generator calculates both shadow colours automatically.
Background matching
Unlike traditional card designs, neumorphic elements share the same background colour as their container. This creates the illusion that the element is extruded from or pressed into the surface. The element and page backgrounds must match for the effect to work.
Gradient shapes
Concave and convex shapes add a subtle linear gradient to the element background. Convex gradients go from light to dark (top to bottom), making the element appear to bulge outward. Concave reverses this, creating a bowl-like inset appearance.
Get GEO & AEO tips every week
The Layman SEO newsletter. Plain English updates on what is changing in search - SEO, AEO, and GEO - and what to do about it. One email a week. Unsubscribe any time.
No spam. No paywall content. Unsubscribe with one click.