Soft UI, hard to hand-code
Neumorphism creates the illusion that UI elements are continuous with the background surface — either extruding from it (convex) or pressed into it (concave). The effect relies on two shadows with opposite directions: a light shadow (typically white) for the highlighted edge and a dark shadow for the recessed edge.
This generator automates the dual-shadow math. Pick a base colour, choose convex, concave, or flat, and adjust the distance and blur. The preview updates immediately so you can see how the lighting direction and softness affect the result.
Getting the best results
- Use muted, mid-tone base colours. Very light or very dark bases reduce shadow contrast.
- Keep the shadow distance moderate — 4–12 pixels works well for most element sizes.
- Match the light source: both shadows should angle from the same direction (top-left is conventional).