
Blend previews a background made from two colors and gives you the CSS for it. Start with colors already used in your layout, such as a dark navy from the header and a lighter blue from a card.
Set the two color inputs and compare the preview. Choose Linear for a transition that travels across the background. Adjust the angle to see where each color falls. Radial spreads color outward from a center and can work when the color should frame a central subject. Look at the area that will sit behind the page’s heading or button.
Take the CSS shown by Blend and paste it into the style for the intended element. Open your page at a narrow size as well as a wide one. A gradient that looks good on a blank preview can make part of your text hard to read. Adjust the colors or use a solid background behind essential text if you need more contrast. MDN’s guide to linear gradients
