Web Design & Color

Neumorphism Generator

Soft, extruded "soft UI" shapes made with two shadows, one light and one dark. Tune it with a live preview and copy the CSS.

Button
Light from

CSS

Keeps this tool on this device so it works without internet, even after a refresh.

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

What it does

Neumorphism ("new skeuomorphism", or soft UI) makes elements look gently pressed out of, or into, the page. The trick is that the element is the same color as the background, with two shadows: a lighter one toward the light source and a darker one away from it. This generator works out both shadow colors from your base color, so it works on any background, not just the classic light gray.

Distance sets how far the shadows fall (how raised it looks), blur how soft they are, and intensity how much lighter and darker the two shadows get. Concave and convex add a subtle gradient so the surface looks dished or domed, and pressed flips the shadows inside, the usual look for an active button or toggle.

Example

The default, #E0E5EC with 20px distance, 40px blur and 15% intensity, gives:

border-radius: 40px;
background: #e0e5ec;
box-shadow: 20px 20px 40px #bec3c9,
            -20px -20px 40px #f9fafc;

Neumorphism Generator FAQ

Is neumorphism accessible?

On its own, often not: the low contrast makes buttons hard to spot, especially for people with low vision. Use it for decoration and surfaces, and give interactive elements clear text, icons or a contrasting color. Check text with the Color Contrast Checker.

Why doesn't it look right on my page?

The page background must match the element's color exactly. Set your section's background to the same color as in the CSS.