Skip to main content Skip to docs navigation

Red & Green Color Gradients - Gradient backgrounds with CSS & PNG

2 color gradient. Red & Green Color Gradients - Gradient backgrounds with CSS & Transparent PNG. Hex #f731a2 and #31f786. Download Gradient Wallpaper in SVG, PNG format and CSS for your next project.

Gradient Color in usage:-

#f731a2 color

#f731a2 Hue: Red

#31f786 color

#31f786Hue: Green

CSS Gradient

#stacked-linear-a {
    background:
        linear-gradient(217deg, rgba(247,49,162,0.8), rgba(0,0,0,0) 70.71%),
        linear-gradient(127deg, rgba(49,247,134,0.8), rgba(0,0,0,0) 70.71%),
        linear-gradient(336deg, rgba(247,49,162,0.8), rgba(0,0,0,0) 70.71%);
}
                            
Copy
#ce-gradient2 {
    height: 300px;
    background-image: linear-gradient(to right, #f731a2, #31f786);
}
                                    
Copy
#ce-gradient3 {
    height: 300px;
    background-image: linear-gradient(to bottom right, #f731a2, #31f786);
}
                                    
Copy
#ce-gradient4 {
    height: 300px;
    background-image: linear-gradient(#f731a2, #31f786);
}
                                    
Copy
#ce-gradient5 {
    height: 300px;
    background-image: linear-gradient(to right, #f731a2, #31f786); 
}
                                    
Copy
#ce-gradient6 {
    height: 300px;
    background-image: repeating-linear-gradient(#f731a2 10%, #31f786 20%); 
}
                                    
Copy
#ce-gradient7 {
    height: 300px;
    background-image: radial-gradient( #f731a2, #31f786);
}
                                    
Copy
#ce-gradient8 {
    height: 300px;
    background-image: radial-gradient( #f731a2 30%, #31f786 60%);
}
                                    
Copy
#ce-gradient9 {
    height: 300px;
    background-image: radial-gradient(circle, #f731a2, #31f786);
}
                                    
Copy
#ce-gradient10 {
    height: 300px;
    background-image: radial-gradient(closest-side at 60% 55%, #f731a2, #31f786);
}
                                    
Copy
#ce-gradient11 {
    height: 300px;
    background-image: radial-gradient(farthest-side at 60% 55%, #f731a2, #31f786);
}
                                    
Copy
#ce-gradient12 {
    height: 300px;
    background-image: repeating-radial-gradient(#f731a2 10%, #31f786 15%);
}
                                    
Copy