Home
HTML
HTML HEX Colors
Example 1: HTML HEX Colors
Run ❯❯
<!DOCTYPE html> <html> <head> <title>HEX Color Example</title> </head> <body> <h1 style="color:#AB294E;">The heading color is set by HEX value #AB294E.</h1> <p style="background-color:#AB294E;">This is a paragrah with background color #AB294E. The background-color property of the style attribute has value #AB294E.</p> </body> </html>