CODDY Tool

Neumorphism Generator

Soft UI shadows in any colour — raised, pressed, convex or concave.

Build the soft-UI look — a panel that appears moulded from its own background, shaded with light and dark shadows on opposite sides. Works with any base colour, not just the usual pale grey, computed properly in OKLCH so the hue survives.

Everything you enter stays in this browser tab. Nothing is sent to our servers, logged or stored.

Loading tool…

About Neumorphism Generator

Neumorphism's illusion is a single light source hitting a surface that is moulded from — the same colour as — the background behind it, rather than a distinct panel sitting on top of one. That is why it needs exactly two shadows rather than one: a darker one on the side facing away from the light, a lighter one on the side facing toward it, both the same base colour just shifted in lightness.

Getting those two shadow colours right matters more than it looks like it should. Shifting an RGB or HSL colour's lightness directly tends to also shift its apparent hue and saturation in a way that reads as slightly wrong, particularly on saturated base colours — which is a real part of why neumorphism is usually only shown in pale, low-saturation greys online: it is the range where that distortion is smallest. This computes both shadow colours in OKLCH instead, adjusting lightness while holding hue and chroma fixed, which is why a genuinely colourful base — not just grey — still looks coherent here.

Pressed mode simply moves both shadows inside the element instead of outside it, which flips the read from 'raised above the background' to 'pressed into it' — the same two colours, the same physics, just which side of the surface they're drawn on.

How to build a neumorphic panel

  1. Choose a base colour

    A muted, mid-lightness colour gives the shadows room to go both lighter and darker.

  2. Pick a style

    Raised, pressed, convex or concave.

  3. Adjust distance, blur and intensity

    Intensity controls how far the shadow colours move from the base.

  4. Copy the CSS

    Background, border-radius and box-shadow together — remember the page background needs to match the base colour for the illusion to hold.

Frequently asked questions

Why does it only look right on a matching background?

The illusion is that the panel is moulded from the same surface as what's behind it — if the page background is a different colour from the panel's base colour, the shadows read as an obvious drop shadow instead of shaping, and the effect falls apart. Set the page's actual background to the same base colour used here.

Can neumorphism work with a bright, saturated colour?

It can, though it is most commonly seen in pale, low-saturation tones because that is the range where the two shadow colours read most subtly. Because the shadow colours here are computed in OKLCH rather than naive RGB lightening, a genuinely colourful base still keeps its hue in both shadows rather than drifting toward grey.

Why is neumorphism criticised for accessibility?

The whole effect relies on subtle shadow contrast rather than a clear border or fill colour to show where a button ends and the background begins, which is exactly the kind of low-contrast boundary that's hard to see for low-vision users and fails contrast guidelines for interactive elements. It works best as decoration on a panel, not as the only cue that something is clickable.

What's the difference between convex, concave and pressed?

Raised sits the panel above a flat background with an outer shadow. Convex and concave add a gradient across the panel's own surface — lighter to darker, or the reverse — to suggest it curves outward or inward like a dome or a dish. Pressed moves the shadow inside the panel entirely, reading as a surface pushed in rather than raised up.

Neumorphism Generator is free to use with no account, no watermark and no usage limits. Last updated 3 September 2026.