CSS Gradient Generator
Build linear, radial or conic CSS gradients, or gradient text, and copy the CSS or HTML.
Tune offset, blur, spread and color, then copy a CSS box-shadow value.
A box shadow generator lets you tune offset, blur, spread and color, then copy a CSS box-shadow value.
This tool runs in your browser. Inputs, files and generated values stay on this device. Favorites and recently used tools, if you use them, store only tool names in local storage — never passwords, documents or QR contents. See the privacy policy.
Tune one CSS box-shadow and copy the declaration, with a preview that uses the same numbers. Use it when a card or a button needs a drop shadow or an inset shadow. Offsets, blur, and spread become whole pixels, and stacked shadows have to be combined in your stylesheet.
box-shadow: 0 8px 24px rgba(15, 39, 68, 0.2);
Offset shifts the shadow. Blur softens the edge. Spread grows or shrinks the shadow before blur. Opacity is applied as RGBA. The preview and the copied CSS use the same computed value.
The generator writes a single box-shadow. Comma-separated layers are not assembled for you. Offsets, blur, and spread are rounded to whole pixels, and a color the parser rejects yields no declaration. The preview is a sample box, not an element from your page.
See the disclaimer for what these tools do not cover.
Build linear, radial or conic CSS gradients, or gradient text, and copy the CSS or HTML.
Minify CSS in your browser while preserving strings, URLs, comments and important spacing.
Convert 3-digit, 6-digit and 8-digit hex colors to RGB, RGBA and HSL in your browser.
Pretty-print JSON, minify it, or check that it parses in the page. Comments, trailing commas, and single quotes fail. It does not turn the result into CSV.
Encode text to Base64 or decode it back, using UTF-8. Anyone can decode the result, so it is not a way to hide a password. A file drop is not accepted.
Generate one or many UUID v4 values in your browser using a secure random source.
Guide
Build a linear, radial or conic CSS gradient from at least two color stops and copy the background or gradient text CSS.
Read guideGuide
Set one offset, blur, spread, color, and opacity, then copy a single box-shadow declaration.
Read guide0px
8px
24px
0px
0.2
Offset moves the shadow. Blur softens the edge. Spread grows or shrinks the shadow before blur.
Opacity controls how strong the color appears. Inset draws the shadow inside the box.
box-shadow: 0 8px 24px 0 rgba(15, 39, 68, 0.2);