set background color of image css code example
Example 1: add background image and color css
background:linear-gradient( rgba(0, 0, 0, 0.5) 100%, rgba(0, 0, 0, 0.5)100%),url("logo/header-background.png");
Example 2: background color using css
/* To apply color to background you have to use 'background-color' property and value of property is color name. */
html,body {
background-color: blue;
}
Example 3: how to change background color in css
body{
background: lightblue;
}