The background-color value can be a 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(123, 123, 123); background-color: #000000; color: #ffffff; width: 200px; height: 300px; } </style> </head> <body> <div>asdf </div> </body> </html>