Text Shadow Generator
Design CSS text shadows with a live preview
2px
4px
8px
35%
CSS
text-shadow: 2px 4px 8px rgba(30, 58, 138, 0.35);text-shadow has no spread value, unlike box-shadow. Use two layers with a very small offset when you need a crisp outline.
About the Text Shadow Generator
The Text Shadow Generator builds the CSS text-shadow property visually. Move the offsets, set the blur and opacity, and pick a color while the preview updates, then copy the finished rule.
Text shadows add depth to headings but hurt legibility when overdone. If the text sits on a busy photo, prefer a subtle dark shadow over a bright glow.
- ✓Live preview on real text
- ✓RGBA color with opacity
- ✓Five ready-made presets
How to use the Text Shadow Generator
- 1
Adjust the offset, blur, and opacity sliders.
- 2
Pick a shadow color.
- 3
Copy the CSS rule or start from a preset.
Frequently asked questions
Why is there no spread control?+
text-shadow has no spread parameter, unlike box-shadow. For an outline effect, layer two shadows with tiny offsets in opposite directions.
Can I use more than one shadow?+
Yes. Separate multiple shadows with commas in the CSS value. The generator builds one layer, which you can duplicate and edit by hand.
Save Text Shadow Generator to your favorites, or keep browsing generators.
Browse all 45 generators →