Neumorphism Generator
Design soft raised or pressed neumorphic elements: a light and a dark shadow from the background colour, in flat, concave, convex or pressed shapes with a light direction. Copy CSS or Tailwind.
The tool
How to use
- Pick the background colour (the element uses the same colour) or a preset.
- Adjust distance, blur and intensity, and choose the shape and light direction.
- Copy the code and make sure the parent background has the same colour.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
Why must the background be the same colour?
Neumorphism makes the element look extruded from the surface itself. With a different background it just looks like a card with two odd shadows.
Is this style good for everything?
Its contrast is low by nature, so key buttons and small text may be hard to see for people with low vision. Use it for decoration and cards; keep text and primary buttons high-contrast.
How are the shadow colours computed?
Dark = background × (1 − intensity), light = background × (1 + intensity), per channel. Very light colours push the light shadow to white, so pick a slightly darker colour if you want it visible.