Utilize CSS Gradients for a contemporary look on modern web browsers. Generate the necessary code at websites like this one:
background-image: linear-gradient(bottom, rgb(84,72,179) 38%, rgb(100,199,217) 78%);
background-image: -o-linear-gradient(bottom, rgb(84,72,179) 38%, rgb(100,199,217) 78%);
background-image: -moz-linear-gradient(bottom, rgb(84,72,179) 38%, rgb(100,199,217) 78%);
background-image: -webkit-linear-gradient(bottom, rgb(84,72,179) 38%, rgb(100,199,217) 78%);
background-image: -ms-linear-gradient(bottom, rgb(84,72,179) 38%, rgb(100,199,217) 78%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.38, rgb(84,72,179)),
color-stop(0.78, rgb(100,199,217))
);
You can also enhance your design with CSS Border radius for smooth rounded edges. Find the code you need at this website:
If you encounter older browsers that do not support CSS Gradients, consider using background images or alternative solutions.
Update
handsofaten suggests using css3pie.com to extend support to older browsers while implementing modern CSS styling techniques.