kmra.dev

CSS box shadow generator

Design soft, layered box shadows with a live preview and copy the CSS.

Presets
Layers
Preview cardDrag the sliders to shape the shadow.
Background
box-shadow:
    0px 1px 2px 0px rgba(15, 23, 42, 0.06),
    0px 4px 8px -2px rgba(15, 23, 42, 0.08),
    0px 12px 24px -6px rgba(15, 23, 42, 0.1);
Tailwind class
shadow-[0px_1px_2px_0px_rgba(15,23,42,0.06),0px_4px_8px_-2px_rgba(15,23,42,0.08),0px_12px_24px_-6px_rgba(15,23,42,0.1)]
  1. 1Set the offset, blur and spread.
  2. 2Add more layers for depth.
  3. 3Copy the CSS.
Where are my colours and images worked on?
In your browser, on your device. Colours you type and images you open stay with you.
Does it work offline?
Yes. Once this page has loaded, it keeps working without an internet connection.
Which colour formats can I use?
HEX, RGB, HSL, HWB, OKLCH, OKLab, CMYK, the 148 CSS colour names, or just three numbers like 30 144 255.

Related tasks

Ready-made settings for common jobs.

Other tools

More tools for working with colour.