#520e1b Color
Color Codes | |
---|---|
Hex Code | #520e1b |
RGB Code | rgb(82, 14, 27) |
HSL Code | hsl(349, 71%, 19%) |
#520e1b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 14, 27); }
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(349, 71%, 19%); }
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 #520e1b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 14, 27, 10%) | #520e1b1a | |
rgb(82, 14, 27, 20%) | #520e1b33 | |
rgb(82, 14, 27, 40%) | #520e1b4C | |
rgb(82, 14, 27, 60%) | #520e1b99 | |
rgb(82, 14, 27, 80%) | #520e1bCC | |
rgb(82, 14, 27, 100%) | #520e1bFF |
Saturated and desaturated colors of #520e1b
HSL Code | Preview |
---|---|
hsl(349, 10%, 19%) | |
hsl(349, 20%, 19%) | |
hsl(349, 40%, 19%) | |
hsl(349, 60%, 19%) | |
hsl(349, 80%, 19%) | |
hsl(349, 100%, 19%) |
#520e1b Color Usage In CSS
body { color: #520e1b; } p { color: rgb(82, 14, 27); } header { border-bottom:1px solid #520e1b; }