Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

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.

How to use CSS Text Shadow Generator online

  1. Type the layers. x y blur colour, one per line.
  2. Set the preview text and colours. To match your page.
  3. Check the drawing. Look at readability.
  4. 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?
The first one you list.
How do I make a glow?
Use no offset and a large blur with a bright colour.
Can I use a colour name?
The drawing needs hex or rgb, so write the colour in one of those forms.
How many layers can I use?
Ten layers at most.
Does the shadow change the text size?
No. It is painted around the text and does not move anything.
Does the CSS Text Shadow Generator keep a copy of my text?
No. The CSS Text Shadow Generator works in your browser, and nothing is uploaded.
Can I chain the CSS Text Shadow Generator with another tool?
Press Use result as input and the CSS Text Shadow Generator answer becomes the new input.

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.

More tools in Developer & Web Tools →

Search tools