iLoveDocsTools
All ToolsNeumorphism Generator

Neumorphism Generator

Generate soft UI / neumorphism CSS box-shadow effects with live preview. Pick shape, depth, and color — copy the CSS instantly.

?

FREE

Loading…

Go Pro ↑

Controls

Base Color

Shape

Distance10px
Blur20px
Intensity40
Border Radius16px

Preview

🎯flat

Generated CSS

.element {
  border-radius: 16px;
  background: #e0e5ec;
  box-shadow: 10px 10px 20px rgb(184, 189, 196), -10px -10px 20px rgb(255, 255, 255);
}
Your files never leave your device. All processing happens locally in your browser — nothing is uploaded to our servers.Files are never stored on our servers · No tracking of your file contentsPrivacy Policy

What is Neumorphism Generator?

Neumorphism Generator is a free online CSS tool for building the soft-UI (neumorphism) shadow effect with precise, numeric control over every parameter that makes it work: base color, shadow distance, blur radius, shadow intensity, corner radius, and element shape. Drag a slider and the preview and the generated CSS update in the same frame — no build step, no design software, no guesswork on the color math.

Neumorphism, sometimes written "neumorphism" as a portmanteau of "new" and "skeuomorphism," became popular around 2019–2020 as a reaction against flat design's total lack of depth. Instead of drop shadows floating an element above the page, neumorphism makes an element look like it is molded out of the same material as its background — pressed, embossed, or extruded from a single continuous surface. It achieves this using nothing but two offsetting box-shadows: one lighter shadow positioned toward the simulated light source (usually top-left) and one darker shadow positioned opposite it (bottom-right). The eye reads that light/dark pairing as physical depth the same way it reads shading on a real embossed surface.

The part that trips people up when they try to hand-code this in CSS is that the three colors involved — the background surface, the light shadow, and the dark shadow — cannot be picked independently. They have to be derived from one shared base hue: the light shadow is that hue pushed brighter, the dark shadow is the same hue pushed darker, and the element itself typically matches the surface color exactly. Get that math even slightly wrong and the soft, molded look collapses into an ordinary, ugly double-shadow. This generator removes that failure point entirely — pick one base color and it computes correctly balanced light and dark shadow values automatically, in RGB, scaled by the intensity slider you set.

Four shape modes cover the situations neumorphism actually gets used for in real interfaces: flat (a raised, embossed surface — good for cards and idle buttons), convex (a domed, outward curve — good for toggle knobs and prominent CTAs), concave (an inward curve — good for wells, inputs, and progress tracks), and pressed (an inset, sunken look created with inset box-shadow — the standard way to represent an active or clicked state). Because the tool renders all four states live, you can design a button's entire idle-to-pressed interaction sequence without writing a single line of CSS until you are satisfied with how it looks.

How It Works

The generator parses your chosen base color into RGB, then computes a lightened variant (channel values pushed up) and a darkened variant (channel values pushed down) by the amount set on the Intensity slider — this produces the two colors used in the dual box-shadow. Distance and Blur control the offset and blur-radius arguments of each shadow. Shape mode changes how those shadows are applied: flat and pressed use solid backgrounds with outer or inset shadows respectively, while concave and convex additionally layer a subtle linear-gradient background running in the opposite direction from the shadow pair, which is what sells the curved-surface illusion rather than a flat raised block. Every slider change re-runs this calculation instantly so the preview and the CSS output panel never fall out of sync.

How to Use

  1. 1

    Pick a base color

    Select the color that will be used for both the element and the surrounding surface — this single color drives every shadow calculation.

  2. 2

    Choose a shape mode

    Select flat, concave, convex, or pressed depending on whether you are designing a raised card, a domed control, an inset well, or an active/clicked state.

  3. 3

    Adjust distance and blur

    Use the Distance slider to set how far the shadow is offset from the element, and Blur to control how soft or sharp the shadow edge appears.

  4. 4

    Set the intensity

    Intensity controls how strongly the light and dark shadow variants diverge from your base color — lower values give a subtle effect, higher values give a bolder, more dramatic depth.

  5. 5

    Fine-tune the border radius

    Adjust corner rounding to match your existing design system — sharper radii suit dashboards, larger radii suit consumer app UI.

  6. 6

    Copy the CSS

    Click Copy CSS to grab the complete box-shadow, background, and border-radius block, ready to paste directly into your stylesheet or component.

Who Uses This Tool

🔘

Button States

Design pressed/raised button states that react naturally to click interactions.

🎛️

Control Panels

Create dashboard knobs, toggles, and sliders with tactile soft-UI styling.

🃏

Cards & Panels

Give content cards a raised, physical-looking depth without heavy drop shadows.

📱

Mobile Components

Style iOS/Android-inspired inputs, switches, and list items with soft UI shadows.

🖥️

Design Systems

Generate consistent shadow values to document in your team design system tokens.

🎨

Prototyping

Rapidly test different depth and shape combinations before committing to a design.

Why Choose This Tool

Auto Shadow Math

Light and dark shadow colors are automatically derived from your base color — no manual hex tweaking.

Four Shape Modes

Flat, concave, convex, and pressed cover every neumorphic state you need for interactive elements.

Complete CSS Output

Generated code includes box-shadow (both directions), background-color, and border-radius in a single ready-to-paste block.

Live Preview

Preview updates instantly as you move sliders so you can fine-tune without guessing.

No External Dependencies

The effect is pure CSS — no JavaScript, no libraries needed in your implementation.

Privacy First

All computation runs in your browser — no data is sent to any server.

Key Benefits

  • Four shape modes: flat, concave, convex, and pressed
  • Automatic light/dark shadow color computation from a single base color
  • Full independent control over distance, blur, intensity, and corner radius
  • Live preview updates in real time as you drag any slider
  • Copy clean, ready-to-paste CSS box-shadow and background code instantly
  • No manual RGB math or trial-and-error hex tweaking required
  • Pure CSS output — no JavaScript, no external library dependency
  • Runs entirely client-side with no account or sign-up needed

Frequently Asked Questions

Also Known As

neumorphism css generator onlinesoft ui css generator freeneumorphic box shadow generatornew skeuomorphism css toolsoft ui design generatorneumorphism shadow calculator onlineinset box shadow generator cssneumorphism card css code generator

Trusted Worldwide

Free Online Document Tools for Everyone

iLoveDocsTools is used by students, professionals, and businesses across the United States, Canada, United Kingdom, Australia, India, and more than 100 other countries. All tools are browser-based and process files privately — your files never leave your device. Free to use, with Pro plans for unlimited access.

No Upload Required

All processing happens directly in your browser. Your documents are never sent to any server — complete privacy guaranteed for users in the USA, Canada, UK, and worldwide.

Free to Use — Pro Plans Available

Every tool on iLoveDocsTools is free to use. Need more? Upgrade to Pro for unlimited usage, priority access, and no daily limits. Trusted by students, freelancers, and teams across North America and Europe.

Works on Any Device

Whether you are on a Mac, Windows PC, iPhone, or Android in New York, Toronto, London, or Sydney — our tools work instantly in any modern browser.

Looking for free PDF tools in the USA? Free document converters in Canada? Online PDF editors in the UK or Australia? iLoveDocsTools offers 70+ free tools — merge PDF, split PDF, compress PDF, convert Word to PDF, Excel to PDF, JPG to PDF, and many more — all free, all instant, all private. No watermarks. No file size limits. Just free tools that work.