CSS Gradient Colored Background - Hex color code #ba40d6 #cb9ee2

Colors in use

Hex: #ba40d6Copy

Hex: #cb9ee2Copy

CSS Gradient

#ce-gradient1 {
    height: 300px;
    background-image: linear-gradient(50deg, #ba40d6, #cb9ee2);
}
                            
Copy
#ce-gradient2 {
    height: 300px;
    background-image: linear-gradient(to right, #ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient3 {
    height: 300px;
    background-image: linear-gradient(to bottom right, #ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient4 {
    height: 300px;
    background-image: linear-gradient(#ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient5 {
    height: 300px;
    background-image: linear-gradient(to right, #ba40d6, #cb9ee2); 
}
                                    
Copy
#ce-gradient6 {
    height: 300px;
    background-image: repeating-linear-gradient(#ba40d6 10%, #cb9ee2 20%); 
}
                                    
Copy
#ce-gradient7 {
    height: 300px;
    background-image: radial-gradient( #ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient8 {
    height: 300px;
    background-image: radial-gradient( #ba40d6 30%, #cb9ee2 60%);
}
                                    
Copy
#ce-gradient9 {
    height: 300px;
    background-image: radial-gradient(circle, #ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient10 {
    height: 300px;
    background-image: radial-gradient(closest-side at 60% 55%, #ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient11 {
    height: 300px;
    background-image: radial-gradient(farthest-side at 60% 55%, #ba40d6, #cb9ee2);
}
                                    
Copy
#ce-gradient12 {
    height: 300px;
    background-image: repeating-radial-gradient(#ba40d6 10%, #cb9ee2 15%);
}
                                    
Copy