Neumorphism Generator

Extrude or press a card with two soft shadows.


Neumorphism uses a light shadow and a dark shadow on a background that matches the card. If the page background is a different color, the trick falls apart. The copied CSS includes the background color for that reason.

Frequently asked questions

Is the contrast high enough?

Often no. Soft UI is easy to miss on the edges. Use it for decoration and keep real controls labeled with clear text.

How is the shadow color made?

The light shadow is the base mixed toward white, and the dark shadow is the base mixed toward black.