how to add color to div in css code example Example: turn a div green div { background-color: green; }