linear gradient 3 css3 colors code example Example: css horizontal gradient background color .foo { background-image: linear-gradient(red, blue); }