🌐
CSS Gradient
cssgradient.io
CSS Gradient – Generator, Maker, and Background
As a free CSS gradient generator tool, this website lets you create a colorful gradient background for your website, blog, or social media profile.
Gradients
Looking for gradient inspiration? You’ve come to the right place. Browse our nicely curated collection of beautiful gradients in all colors: blue, red and more.
Color Shades
Color shades are lighter and darker variations of a particular color, created by adding white or black. Explore shades of red, blue, green, yellow, purple and pink.
Backgrounds
Discover the best gradient backgrounds from a curated collection of the ultimate list of gradient sites. With 1000+ gradients, it's easy to find the 👌 color!
CSS Gradient Text
Add eye-catching gradient effects to your website text using pure CSS. Learn how to create vibrant, image-free text gradients with step-by-step syntax examples and tips.
🌐
Freepik
freepik.com › free-photos-vectors › transparent-gradient
Transparent gradient Images - Free Download on Freepik
Find & Download Free Graphic Resources for Transparent gradient Vectors, Stock Photos & PSD files. ✓ Free for commercial use ✓ High Quality Images #freepik
🌐
Online PNG Tools
onlinepngtools.com › generate-png-gradient-palette
Generate a PNG Gradient Palette – Online PNG Maker
World's simplest online utility that creates a gradient palette in PNG format. Free, quick, and powerful. Press a button – get a PNG gradient palette.
🌐
Paint.NET
getpaint.net › doc › latest › GradientTool.html
Gradient Tool
Gradient Tool also supports a transparency mode which can be used to "fade" or "blend" two images together.
🌐
ColorZilla
colorzilla.com › gradient-editor
Ultimate CSS Gradient Generator - ColorZilla.com
» Support for full multi-stop gradients in Internet Explorer 9 (IE9) using SVG · » Support for Sass SCSS format using Compass mixins (needs latest beta of Compass) » Copy to clipboard button for quickly grabbing the generated code · » Easy resizing of preview panel by dragging its corner ... · Create transparent css gradients, or add fade-in, fade-out, semi-transparency and similar effects
🌐
Online Tools
onlinetools.com › image › make-image-semitransparent
Make an Image Semitransparent – Online Image Tools
Radial gradient spread. This tool makes selected areas of an image transparent or semitransparent. The program can apply various degrees of opacity and even create gradient transparency effects.
🌐
Rainbodesign
rainbodesign.com › scripts & tutorials › website image tools › transparent background maker
Transparent Background Generator with Gradient - Rainbo Design
This tool creates a PNG image file of the specified width and height (from 10 to 1280 pixels) using the color and transparency level you choose. You can click on the small palette icon to pick the color, or specify the color with a HEX triplet (starting with a '#'). If you choose the Gradient option, a vertical gradient transparency effect will be used that starts with 0% opacity at the top and 100% opacity at the bottom.
Find elsewhere
🌐
AngryTools
angrytools.com › gradient › image
Gradient to Image maker
Angrytools - Gradient to Image maker application allows you to generate png and jpeg images for your background buttons, DIV layouts, it also provide every angle with transparent image
🌐
Shadcn
shadcn.io › tools › gradient-transparency-maker
Gradient Transparency Maker
Radial gradients create circular effects—ideal for spotlights and vignettes. Professional-quality results in seconds. ... Sign in to leave feedback. ... Adjust watermark transparency online.
🌐
Online PNG Tools
onlinepngtools.com › transparent-png-tools
Transparent PNG Tools – Create and Edit Transparent PNGs
With the transparent gradient creator, you can create a PNG of your preferred width and height that has a transparent linear or radial gradient (for example, going from blue to transparent or from transparent to blue).
🌐
PineTools
pinetools.com › image-gradient-generator
Online Image gradient generator
Generate a linear gradient and save it as an image. You can choose the dimensions of the image, the colors, the orientation and the zoom of the gradient. Width (px) Height (px) Use transparency · Transparency of first color (%) Transparency of second color (%) Orientation (degrees) Zoom (%) Generate!
🌐
my social designer
mysocialdesigner.com › blog › transparent-gradient-in-canva
Create a Transparent Gradient in Canva — my social designer
March 23, 2021 - First, head over to Canva and create a new design. Any dimension you’d like. Then click the “Elements” tab in the toolbar and search for “Gradient Transparency”. Choose any transparency your heart desires.
Top answer
1 of 3
122

If you want this:

You can do this:

<html>
  <style type='text/css'>
    div, img { position:absolute; top:0; left:0; width:250px; height:250px; }
    img {
      -webkit-mask-image:-webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));
      mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
    }
  </style>
  <body>
    <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet porttitor massa. Morbi eget tortor congue, aliquet odio a, viverra metus. Ut cursus enim eu felis sollicitudin, vitae eleifend urna lobortis. Mauris elementum erat non facilisis cursus. Fusce sit amet lacus dictum, porta libero sed, euismod tellus. Aenean erat augue, sodales sed gravida ac, imperdiet ac augue. Ut condimentum dictum mauris. Donec tincidunt enim a massa molestie, vel volutpat massa dictum. Donec semper odio vitae adipiscing lacinia.</div>
    <img src='https://i.sstatic.net/8vPQgiTK.jpg' />
  </body>
</html>

2 of 3
25

If you just want to fade to the background color (white, in this case) see the working example here:

http://jsfiddle.net/yw9v7zm5/

.css for the image container div uses:

background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(80%,rgba(255,255,255,1)));
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );
🌐
Lunapic
www5.lunapic.com › editor
LunaPic | Free Online Photo Editor | Color Gradient
Adjust Light Levels Adjust Colors ... Alpha Transparency Auto Brightness Color Temperature Contrast Exposure Adaptive Equalize Skin Smoother Skin Tanning Normalize Redeye Reduction Colorize Old Photo Photo Restore AI Enhancer (New!) View All Effects Blend two Images Gradient Blend Masking ...
🌐
Freepik
freepik.com › vectors › transparent-gradient
Transparent gradient Vectors - Download Free High-Quality Vectors from Freepik | Freepik
Download the most popular free Transparent gradient vectors from Freepik. Explore AI-generated vectors and stock vectors, and take your projects to the next level with high-quality assets! #freepik
🌐
Pngtree
pngtree.com › so › gradient
Gradient PNG Transparent Images Free Download | Vector Files | Pngtree
July 4, 2020 - Are you searching for Gradient png hd images or vector? Choose from 100000+ Gradient graphic resources and download in the form of PNG, EPS, AI or PSD.
Top answer
1 of 5
50

Keep in mind that a CSS gradient is actually an image value, not a color value as some might expect. Therefore, it corresponds to background-image specifically, and not background-color, or the entire background shorthand.

Essentially, what you're really trying to do is layering two background images: a bitmap image over a gradient. To do this, you specify both of them in the same declaration, separating them using a comma. Specify the image first, followed by the gradient. If you specify a background color, that color will always be painted underneath the bottom-most image, which means a gradient will cover it just fine, and it will work even in the case of a fallback.

Because you're including vendor prefixes, you will need to do this once for every prefix, once for prefixless, and once for fallback (without the gradient). To avoid having to repeat the other values, use the longhand properties1 instead of the background shorthand:

#mydiv .isawesome { 
    background-color: #B1B8BD;
    background-position: 0 0;
    background-repeat: no-repeat;

    /* Fallback */
    background-image: url('../images/sidebar_angle.png');

    /* CSS gradients */
    background-image: url('../images/sidebar_angle.png'), 
                      -moz-linear-gradient(top, #ADB2B6 0%, #ABAEB3 100%);
    background-image: url('../images/sidebar_angle.png'), 
                      -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ADB2B6), color-stop(100%, #ABAEB3));
    background-image: url('../images/sidebar_angle.png'), 
                      linear-gradient(to bottom, #ADB2B6, #ABAEB3);

    /* IE */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ADB2B6', endColorstr='#ABAEB3', GradientType=0);
}

Unfortunately this doesn't work correctly in IE as it uses filter for the gradient, which it always paints over the background.

To work around IE's issue you can place the filter and the background image in separate elements. That would obviate the power of CSS3 multiple backgrounds, though, since you can just do layering for all browsers, but that's a trade-off you'll have to make. If you don't need to support versions of IE that don't implement standardized CSS gradients, you have nothing to worry about.


1 Technically, the background-position and background-repeat declarations apply to both layers here because the gaps are filled in by repeating the values instead of clamped, but since background-position is its initial value and background-repeat doesn't matter for a gradient covering the entire element, it doesn't matter too much. The details of how layered background declarations are handled can be found here.

2 of 5
41

You can use Transparency and gradients. Gradients support transparency. You can use this, for example, when stacking multiple backgrounds, to create fading effects on background images.

background: linear-gradient(to right, rgba(255,255,255,0) 20%,
              rgba(255,255,255,1)), url(http://foo.com/image.jpg);

🌐
CorelDRAW
coreldraw.com › en › blog › photo › layers › create-a-transparent-image-gradient
How To Create A Transparent Image Gradient in CorelDRAW
Need to make a transparent image gradient? CorelDRAW Graphics Suite has powerful features that allow you to easily create image gradients.