<!-- Blend a background image and a background color specifying background-origin --> <!DOCTYPE HTML> <html> <head> <style> div { background: #777777; background-origin: border-box; width: 200px; height: 200px; margin: 10px; } </style> </head> <body> <div></div> </body> </html>