#d97015 Color
Color Codes | |
---|---|
Hex Code | #d97015 |
RGB Code | rgb(217, 112, 21) |
HSL Code | hsl(28, 82%, 47%) |
#d97015 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 112, 21); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(28, 82%, 47%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #d97015
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 112, 21, 10%) | #d970151a | |
rgb(217, 112, 21, 20%) | #d9701533 | |
rgb(217, 112, 21, 40%) | #d970154C | |
rgb(217, 112, 21, 60%) | #d9701599 | |
rgb(217, 112, 21, 80%) | #d97015CC | |
rgb(217, 112, 21, 100%) | #d97015FF |
Saturated and desaturated colors of #d97015
HSL Code | Preview |
---|---|
hsl(28, 10%, 47%) | |
hsl(28, 20%, 47%) | |
hsl(28, 40%, 47%) | |
hsl(28, 60%, 47%) | |
hsl(28, 80%, 47%) | |
hsl(28, 100%, 47%) |
#d97015 Color Usage In CSS
body { color: #d97015; } p { color: rgb(217, 112, 21); } header { border-bottom:1px solid #d97015; }