.gradient{
width:500px;
height:500px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a0a5ff+0,2737fe+100 */
background: rgb(160,165,255); /* Old browsers */
background: -moz-linear-gradient(-45deg, rgba(160,165,255,1) 0%, rgba(39,55,254,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,rgba(160,165,255,1)), color-stop(100%,rgba(39,55,254,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(-45deg, rgba(160,165,255,1) 0%,rgba(39,55,254,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(-45deg, rgba(160,165,255,1) 0%,rgba(39,55,254,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(-45deg, rgba(160,165,255,1) 0%,rgba(39,55,254,1) 100%); /* IE10+ */
background: linear-gradient(135deg, rgba(160,165,255,1) 0%,rgba(39,55,254,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a0a5ff', endColorstr='#2737fe',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
<div class="gradient"></div>