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

Gradient Color in usage:-

#ea42d5 color

#ea42d5 Hue: Red

#42ea57 color

#42ea57Hue: Green

CSS Gradient

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