Skip to main content Skip to docs navigation

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

2 color gradient. Green & Violet Color Gradients - Gradient backgrounds with CSS & Transparent PNG. Hex #42811b and #5a1b81. Download Gradient Wallpaper in SVG, PNG format and CSS for your next project.

Gradient Color in usage:-

#42811b color

#42811b Hue: Green

#5a1b81 color

#5a1b81Hue: Violet

CSS Gradient

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