You can yield slightly better results by making your gradient go from the first colour to transparent, with a background-color
underneath for your second colour. I’d also recommend playing around with background-size
for large gradients that stretch across the screen, so the gradient doesn’t actually fill the whole screen.