GamutDesk Logo
GamutDesk

3D Claymorphism CSS Generator

Generate puffy 3D claymorphism CSS using dual outer and dual inset box-shadows. Adjust depth, blur, intensity and radius with a live preview.

Client-Side ArchitecturePrivate Client-Side Processing

Clay card

Soft, puffy 3D surface

Clay settings

14px
28px
55%
32px
CSS
background: #7C9CFF;
border-radius: 32px;
box-shadow:
  14px 14px 28px rgba(81, 101, 166, 0.52),
  -7px -7px 22px rgba(216, 225, 255, 0.52),
  inset -8px -8px 14px rgba(81, 101, 166, 0.44),
  inset 8px 8px 14px rgba(216, 225, 255, 0.72);

Technical Specification & Mathematical Principles

How the Claymorphism Generator Works

Claymorphism makes elements look like soft inflated clay. It uses four stacked shadows: a dark outer shadow offset down-right for depth, a light outer shadow offset up-left for the highlight halo, a dark inset shadow at the bottom-right for volume, and a light inset shadow at the top-left for the glossy rim.

All four shadows are derived from the base color: the dark tone mixes the base with black, the light tone with white. A large border-radius (24px or more) and a saturated mid-tone background complete the look. The intensity slider scales the alpha of each shadow.

Frequently Asked Questions

What is the difference between claymorphism and neumorphism?
Neumorphism extrudes a surface from a background of the same color using subtle outer shadows. Claymorphism uses saturated colors, large radii and added inner shadows to make a puffy, floating object.
Can I put multiple inset shadows in one declaration?
Yes. box-shadow accepts a comma-separated list, and inset and outer shadows can be mixed freely. They are painted in order, first on top.
Does it work in dark mode?
Choose a darker base color and reduce intensity. The generated light highlight is mixed from the base, so it adapts to the base you pick.

Related Design & Color Instruments