About the CSS Background Generator
The CSS Background Generator assembles complete CSS background declarations: a solid color, a linear gradient or a radial gradient, plus size and repeat behavior. Backgrounds do more than decorate β a subtle background shift is often the clearest way to separate sections, cards and interactive states.
Keep text contrast in mind whenever a background changes: re-test the text color against the new background with the contrast checker, especially at the darkest point of a gradient.
Example
Start from the brand color #5B4BFF β that is rgb(91, 75, 255) or hsl(245, 100%, 65%). Load it in the tool above and you will see every value, preview and export update around it. Swap in your own project color and repeat the same steps.