Skip to main content Skip to docs navigation

Blue ,Red,Yellow & Green Color Gradients - Gradient backgrounds with CSS & PNG

4 color gradient. Blue ,Red,Yellow & Green Color Gradients - Gradient backgrounds with CSS & Transparent PNG. Hex #303f8f, #8f306e, #8f8030 and #308f51. Download Gradient Wallpaper in SVG, PNG format and CSS for your next project.

Gradient Color in usage:-

#303f8f color

#303f8f Hue: Blue

#8f306e color

#8f306eHue: Red

#8f8030 color

#8f8030 Hue: Yellow

#308f51 color

#308f51 Hue: Green

CSS Gradient

#stacked-linear-e {
    background:
        linear-gradient(217deg, rgba(48,63,143,0.8), rgba(0,0,0,0) 70.71%),
        linear-gradient(127deg, rgba(143,48,110,0.8), rgba(0,0,0,0) 70.71%),
        linear-gradient(336deg, rgba(143,128,48,0.8), rgba(0,0,0,0) 70.71%);
}
                            
Copy
#ce-gradient2 {
    height: 300px;
    background-image: linear-gradient(to right, #303f8f, #8f306e);
}
                                    
Copy
#ce-gradient3 {
    height: 300px;
    background-image: linear-gradient(to bottom right, #303f8f, #8f306e);
}
                                    
Copy
#ce-gradient4 {
    height: 300px;
    background-image: linear-gradient(#303f8f, #8f306e);
}
                                    
Copy
#ce-gradient5 {
    height: 300px;
    background-image: linear-gradient(to right, #303f8f, #8f306e); 
}
                                    
Copy
#ce-gradient6 {
    height: 300px;
    background-image: repeating-linear-gradient(#303f8f 10%, #8f306e 20%); 
}
                                    
Copy
#ce-gradient7 {
    height: 300px;
    background-image: radial-gradient( #303f8f, #8f306e);
}
                                    
Copy
#ce-gradient8 {
    height: 300px;
    background-image: radial-gradient( #303f8f 30%, #8f306e 60%);
}
                                    
Copy
#ce-gradient9 {
    height: 300px;
    background-image: radial-gradient(circle, #303f8f, #8f306e);
}
                                    
Copy
#ce-gradient10 {
    height: 300px;
    background-image: radial-gradient(closest-side at 60% 55%, #303f8f, #8f306e);
}
                                    
Copy
#ce-gradient11 {
    height: 300px;
    background-image: radial-gradient(farthest-side at 60% 55%, #303f8f, #8f306e);
}
                                    
Copy
#ce-gradient12 {
    height: 300px;
    background-image: repeating-radial-gradient(#303f8f 10%, #8f306e 15%);
}
                                    
Copy
#stacked-linear {
    height: 300px;
    background:
        linear-gradient(217deg, rgba(48,63,143,0.8), rgba(0,0,0,0) 70.71%),
        linear-gradient(127deg, rgba(143,48,110,0.8), rgba(0,0,0,0) 70.71%),
        linear-gradient(336deg, rgba(143,128,48,0.8), rgba(0,0,0,0) 70.71%);
}
                                    
Copy
#stacked-radial {
    height: 300px;
    background:
        radial-gradient(circle at 50% 0,rgba(48,63,143,0.5),rgba(0,0,0,0) 70.71%),
        radial-gradient(circle at 6.7% 75%,rgba(143,48,110,0.5),rgba(0,0,0,0) 70.71%),
        radial-gradient(circle at 93.3% 75%,rgba(143,128,48,0.5),rgba(0,0,0,0) 70.71%);
}
                                    
Copy