Free · Fast · Privacy-first

Transparent CSS Gradient — Fade to Transparent

Transparent gradients are essential for fade-out effects, image overlays, and blending elements into a background. FixTools generates the correct CSS for transparent gradients — including the common pitfall of using transparent directly versus rgba() for colour-accurate fades.

Cost
Free forever
Sign-up
Not required
Processing
In your browser
Privacy
Files stay local

Correct transparent gradient syntax explained

🔒

Avoids the grey banding issue with "transparent" keyword

Generates fade-to-transparent from any colour

CSS Tool

Gradient

All processing happens in your browser — your files are never uploaded to any server.

🚀Open Gradient

100% Free · No account · Works on any device

How to use this tool

💡

Generate a transparent fade: background: linear-gradient(to bottom, rgba(102, 126, 234, 1) 0%, rgba(102, 126, 234, 0) 100%) — using rgba() instead of transparent avoids grey banding in mid-transition.

How It Works

Step-by-step guide to transparent css gradient — fade to transparent:

  1. 1

    Choose your starting colour

    Decide the opaque colour (the colour the gradient fades from) and note its hex or RGB value.

  2. 2

    Use rgba() for the transparent end

    Convert your colour to rgba() format and set the alpha to 0: rgba(R, G, B, 0). Do not use the transparent keyword as it causes grey banding.

  3. 3

    Set direction

    Choose the fade direction — to bottom for a top-to-transparent fade, to top for a bottom-to-transparent fade, and so on.

  4. 4

    Copy the CSS

    Copy the background: linear-gradient(...) with rgba() values and apply it to your element.

Frequently asked questions

5 questions

Ready to get started?

Open the full Gradient — free, no account needed, works on any device.

Open Gradient

Free · No account needed · Works on any device