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 #f842a3 and #42f897. Download Gradient Wallpaper in SVG, PNG format and CSS for your next project.

Gradient Color in usage:-

#f842a3 color

#f842a3 Hue: Red

#42f897 color

#42f897Hue: Green

CSS Gradient

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