The background-color value can be a short hexadecimal value
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> <head> <title>background-color</title> <style rel='stylesheet' type='text/css'> body { background-color: pink; line-height: 32px; } div { border: 1px solid rgb(0, 0, 0); background-color: #fff; color: #000; width: 200px; height: 300px; } </style> </head> <body> <div>asdf </div> </body> </html>