CSS Text Shadow Generator
Write one shadow layer on each line as x, y, blur and colour, and see the layers stacked on a sample word. The page writes the text-shadow rule for you.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use CSS Text Shadow Generator online
- Type the layers. x y blur colour, one per line.
- Set the preview text and colours. To match your page.
- Check the drawing. Look at readability.
- Copy the CSS. Use it in your style sheet.
Why use this free CSS Text Shadow Generator
- Layered shadows
- Hex and rgba colours
- Live drawing on your text
- Glow and outline effects
- Layer-order aware
- Runs in your browser
How a layer is written
A text shadow has an offset to the right, an offset down, an optional blur radius and a colour. Negative offsets move it left or up. Type one layer on each line, such as two pixels, two pixels, four pixels and a colour. Units may be left off, and pixels are assumed.
Stacking layers
You can give several layers, and the browser draws the first one on top. A tight dark layer gives crisp depth, and a wide coloured layer with no offset gives a glow. Three or four layers with growing blur make a soft, realistic shadow. The page keeps the order you type and writes them separated by commas.
Colours
Colours can be written as three, four, six or eight digit hex codes, or as rgb and rgba functions, which lets you set how see-through each layer is. A colour name is not accepted for the drawing, so the page asks for a hex or rgb value. A layer with no colour is black.
Reading the preview
The preview shows your word in your text colour on your background colour, with every layer drawn behind it. The blur number in CSS is a radius, and the drawing uses half of it as the standard deviation of the blur, which is how browsers treat it. Check big blur values on your own page, because small differences remain.
Readability
Shadows can make text easier or harder to read. A light glow on dark text lowers contrast, and a dark outline made of four tiny offsets can help text on a busy picture. Check the contrast of the text itself, and do not depend on a shadow to make small text readable. The page works in your browser and nothing is uploaded.
Using the tool
Change the text or any option of the CSS Text Shadow Generator and the answer moves straight away. Find and replace is built into the editor with Ctrl+F and Ctrl+H.
CSS Text Shadow Generator: frequently asked questions
Which layer is on top?
How do I make a glow?
Can I use a colour name?
How many layers can I use?
Does the shadow change the text size?
Does the CSS Text Shadow Generator keep a copy of my text?
Can I chain the CSS Text Shadow Generator with another tool?
Related searches for CSS Text Shadow Generator
- CSS Text Shadow Generator online
- free CSS Text Shadow Generator
- CSS Text Shadow Generator online free
- CSS Text Shadow Generator for mobile
- CSS Text Shadow Generator without sign up
- CSS Text Shadow Generator – Developer & Web Tools
CSS Text Shadow Generator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.