About Neumorphism Generator
Neumorphism, or soft UI, makes an element look pressed out of, or into, the surface it sits on. It works with a single base color: one shadow darker than the surface falls away from the light, and one lighter highlight sits on the lit side.
Pick the base color, where the light comes from, and how far, how soft and how strong the shadows are. Flat lifts the element; convex and concave add a gentle gradient so it bulges or dips; pressed turns both shadows inward. The preview surface uses your base color, as your page should.
How it works
- The dark tone lowers each red, green and blue channel of the base color by the intensity, taken as a share of the full 0 to 255 range; the light tone raises them by the same step. Channels stop at black and white.
- The dark shadow is offset away from the light by the distance, and the highlight by the same distance towards it. Pressed makes both of them inset.
- Convex and concave add a linear gradient between two gentler tones, running from the lit corner to the opposite one, so the face looks curved.
- Very light or very dark base colors leave one shadow with nowhere to go. The tool warns you when that happens.
Questions
Why does the effect disappear on my page?
Soft UI only works when the element sits on a surface of the same base color. On a different background the highlight and shadow look like a smudge. Give the parent the same background as the element.
Is neumorphism accessible?
The shapes are low in contrast by design, so do not rely on them alone to show what is clickable or which state a control is in. Add clear labels, icons or a visible focus outline alongside the effect.
Why can I not use pure white?
The highlight has to be lighter than the surface, and nothing is lighter than white. Use an off-white such as #e0e5ec and the highlight has room to show.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.