Box Shadow Generator

Tune a box shadow visually and copy the CSS.

Tool Panel

Processed locally
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
Design Tools

Color Picker

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

Design Tools
Design Tools

Contrast Checker

Check foreground and background contrast against accessibility thresholds.

Design Tools
Design Tools

Gradient Generator

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

Design Tools
Design Tools

Unit Converter

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

Design Tools
Design Tools

Bytes Converter

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

Design Tools
Design Tools

Border Radius Generator

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

Design Tools

Clip Path Generator

Drag the points to shape a polygon and copy the CSS clip-path.

Design Tools

Cubic Bezier Generator

Drag the control points to shape an easing curve and copy the CSS.