Submitted by: Submitted by bonching
Views: 10
Words: 1286
Pages: 6
Category: Other Topics
Date Submitted: 11/19/2015 05:56 PM
<!DOCTYPE html>
<html>
<head>
<style>
h1
{
background-color:#6495ed;
}
p
{
background-color:#e0ffff;
}
div
{
background-color:#b0c4de;
}
</style>
</head>
<body>
<h1>CSS background-color example!</h1>
<div>
This is a text inside a div element.
<p>This paragraph has its own background color.</p>
We are still in the div element.
</div>
</body>
</html>
Sorted by Color Name
Color Name | HEX | Color | Shades | Mix |
AliceBlue | #F0F8FF | | Shades | Mix |
AntiqueWhite | #FAEBD7 | | Shades | Mix |
Aqua | #00FFFF | | Shades | Mix |
Aquamarine | #7FFFD4 | | Shades | Mix |
Azure | #F0FFFF | | Shades | Mix |
Beige | #F5F5DC | | Shades | Mix |
Bisque | #FFE4C4 | | Shades | Mix |
Black | #000000 | | Shades | Mix |
BlanchedAlmond | #FFEBCD | | Shades | Mix |
Blue | #0000FF | | Shades | Mix |
BlueViolet | #8A2BE2 | | Shades | Mix |
Brown | #A52A2A | | Shades | Mix |
BurlyWood | #DEB887 | | Shades | Mix |
CadetBlue | #5F9EA0 | | Shades | Mix |
Chartreuse | #7FFF00 | | Shades | Mix |
Chocolate | #D2691E | | Shades | Mix |
Coral | #FF7F50 | | Shades | Mix |
CornflowerBlue | #6495ED | | Shades | Mix |
Cornsilk | #FFF8DC | | Shades | Mix |
Crimson | #DC143C | | Shades | Mix |
Cyan | #00FFFF | | Shades | Mix |
DarkBlue | #00008B | | Shades | Mix |
DarkCyan | #008B8B | | Shades | Mix |
DarkGoldenRod | #B8860B | | Shades | Mix |
DarkGray | #A9A9A9 | | Shades | Mix |
DarkGrey | #A9A9A9 | | Shades | Mix |
DarkGreen | #006400 | | Shades | Mix |
DarkKhaki | #BDB76B | | Shades | Mix |
DarkMagenta | #8B008B | | Shades | Mix |
DarkOliveGreen | #556B2F | | Shades | Mix |
Darkorange | #FF8C00 | | Shades | Mix |
DarkOrchid | #9932CC | | Shades | Mix |
DarkRed | #8B0000 | | Shades | Mix |
DarkSalmon | #E9967A | | Shades | Mix |
DarkSeaGreen | #8FBC8F | | Shades | Mix...