how to add 2 color in html code example Example: css horizontal gradient background color .foo { background-image: linear-gradient(red, blue); }