HomeHueLabBox-Shadow Generator
HueLab

Box-Shadow Generator

Design perfect CSS box shadows visually.

Box-Shadow Generator
Preview

Shadow settings

12px
18px
32px
0px
18%

    
How to use this tool
1

Move the sliders

Adjust horizontal and vertical offset, blur radius and spread until it looks right.

2

Style it

Pick a shadow color, set opacity, or flip on the inset switch for inner shadows.

3

Copy the CSS

One click copies the exact box-shadow declaration for your stylesheet.

Share this tool WhatsApp Facebook X Telegram LinkedIn

Frequently asked questions

What do blur and spread do?

Blur softens the shadow's edge — higher values make it more diffused. Spread grows or shrinks the shadow's size: positive values expand it, negative values contract it.

What's an inset shadow?

An inset shadow renders inside the element instead of outside it — useful for pressed-button effects and inner depth.

Will the CSS work everywhere?

Yes. box-shadow is supported by all modern browsers with no prefixes needed.

How do I make a soft, subtle shadow?

Try a small vertical offset (8–20px), a generous blur (24–48px), zero spread, and low opacity (10–20%). That's the modern "floating card" look.

Is my data uploaded anywhere?

No. Everything runs locally in your browser — nothing leaves your device.

About Box-Shadow Generator

The box-shadow generator helps you design perfect CSS box shadows visually. It is intended for designers and developers preparing visual assets. Start with the input and settings shown in the tool above. Review the result before saving or reusing it, especially when converting between formats that support different features. Keep your original so you can compare the output or try another setting.

How to use Box-Shadow Generator

  1. Move the sliders — Adjust horizontal and vertical offset, blur radius and spread until it looks right.
  2. Style it — Pick a shadow color, set opacity, or flip on the inset switch for inner shadows.
  3. Copy the CSS — One click copies the exact box-shadow declaration for your stylesheet.

Key features

Related design tools

Explore HueLab · Privacy policy · Contact us