background and background-color css code example
Example 1: what is difference between background and background-color
Premising that those are two distinct properties, in your specific example there's no difference in the result, since background actually is a shorthand for
background-color
background-image
background-position
background-repeat
background-attachment
background-clip
background-origin
background-size
background: white url(images/image1.jpg) top left repeat;
background: black;
background: url(example.jpg) no-repeat center center #fff;
background-image: url(example.jpg);
background-position: center center;
background-repeat: no-repeat;
background-color: #fff;
Example 2: css background color
body {background-color: coral;}
Example 3: backgroud color css
background-color: blue;