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