css color gradient codes w3schools code example Example: css horizontal linear gradient background: linear-gradient(to left, red, blue);