Box Shadow Generator

Tune a box shadow visually and copy the CSS.

Tool Panel

Loading tool...
About Box Shadow Generator

Offset, blur, spread and colour with a live preview, plus an optional inset shadow. The output is a standard box-shadow declaration.

  • 1

    Each parameter does one thing: X and Y place the shadow, blur softens its edge, spread scales the shape before the blur is applied, and the colour sets the tint.

  • 2

    Spread can go negative to pull the shadow in tight against the element, and a negative Y drops it above instead of below.

  • 3

    The colour carries alpha by default (#0f172a40 is 25% opacity) and the swatch only edits the RGB part, keeping the alpha — so recolouring never turns a soft shadow solid.

Related tools

View all
Color Picker
Design Tools

Color Picker

Pick a colour and read off its HEX, RGB and HSL values.

Design Tools
Contrast Checker
Design Tools

Contrast Checker

Check foreground and background contrast against accessibility thresholds.

Design Tools
Gradient Generator
Design Tools

Gradient Generator

Build CSS linear and radial gradients visually, then copy the code.

Design Tools
Unit Converter
Design Tools

Unit Converter

Convert physical units across length, weight, volume and more.

Design Tools
Bytes Converter
Design Tools

Bytes Converter

Convert between bytes, KB, MB, GB and TB.

Design Tools
Border Radius Generator
Design Tools

Border Radius Generator

Tune each corner visually and copy the CSS border-radius.

Design Tools