#a80f00 Color
Color Codes | |
---|---|
Hex Code | #a80f00 |
RGB Code | rgb(168, 15, 00) |
HSL Code | hsl(5, 100%, 33%) |
#a80f00 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(168, 15, 00); }
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(5, 100%, 33%); }
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 #a80f00
RGB Code | Hex Code | Preview |
---|---|---|
rgb(168, 15, 00, 10%) | #a80f001a | |
rgb(168, 15, 00, 20%) | #a80f0033 | |
rgb(168, 15, 00, 40%) | #a80f004C | |
rgb(168, 15, 00, 60%) | #a80f0099 | |
rgb(168, 15, 00, 80%) | #a80f00CC | |
rgb(168, 15, 00, 100%) | #a80f00FF |
Saturated and desaturated colors of #a80f00
HSL Code | Preview |
---|---|
hsl(5, 10%, 33%) | |
hsl(5, 20%, 33%) | |
hsl(5, 40%, 33%) | |
hsl(5, 60%, 33%) | |
hsl(5, 80%, 33%) | |
hsl(5, 100%, 33%) |
#a80f00 Color Usage In CSS
body { color: #a80f00; } p { color: rgb(168, 15, 00); } header { border-bottom:1px solid #a80f00; }