change color of line css code example Example: how to change line colors in css hr{ background-color: green; }