The CSS Gradient Generator allows you to generate the CSS code for a linear or radial gradient with up to 6 colors. You can use such a CSS gradient as a background image of an element or even as the border. Both you can see in the examples below.
To use this tool, you need to select at least two color values and check the active checkbox next to them. We preselected red and blue for you.