An easy to use tool that allows you to generate ready CSS rules. Adjust gradient values and copy the ready code.
background-color: rgba(89, 131, 252, 1); background-image: linear-gradient(90deg, rgba(89, 131, 252, 1) 0%, rgba(41, 53, 86, 1) 100%);