#821b13 Color
Color Codes | |
---|---|
Hex Code | #821b13 |
RGB Code | rgb(130, 27, 19) |
HSL Code | hsl(4, 74%, 29%) |
#821b13 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(130, 27, 19); }
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(4, 74%, 29%); }
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 #821b13
RGB Code | Hex Code | Preview |
---|---|---|
rgb(130, 27, 19, 10%) | #821b131a | |
rgb(130, 27, 19, 20%) | #821b1333 | |
rgb(130, 27, 19, 40%) | #821b134C | |
rgb(130, 27, 19, 60%) | #821b1399 | |
rgb(130, 27, 19, 80%) | #821b13CC | |
rgb(130, 27, 19, 100%) | #821b13FF |
Saturated and desaturated colors of #821b13
HSL Code | Preview |
---|---|
hsl(4, 10%, 29%) | |
hsl(4, 20%, 29%) | |
hsl(4, 40%, 29%) | |
hsl(4, 60%, 29%) | |
hsl(4, 80%, 29%) | |
hsl(4, 100%, 29%) |
#821b13 Color Usage In CSS
body { color: #821b13; } p { color: rgb(130, 27, 19); } header { border-bottom:1px solid #821b13; }