#848082 Color
Color Codes | |
---|---|
Hex Code | #848082 |
RGB Code | rgb(132, 128, 130) |
HSL Code | hsl(330, 2%, 51%) |
#848082 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(132, 128, 130); }
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(330, 2%, 51%); }
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 #848082
RGB Code | Hex Code | Preview |
---|---|---|
rgb(132, 128, 130, 10%) | #8480821a | |
rgb(132, 128, 130, 20%) | #84808233 | |
rgb(132, 128, 130, 40%) | #8480824C | |
rgb(132, 128, 130, 60%) | #84808299 | |
rgb(132, 128, 130, 80%) | #848082CC | |
rgb(132, 128, 130, 100%) | #848082FF |
Saturated and desaturated colors of #848082
HSL Code | Preview |
---|---|
hsl(330, 10%, 51%) | |
hsl(330, 20%, 51%) | |
hsl(330, 40%, 51%) | |
hsl(330, 60%, 51%) | |
hsl(330, 80%, 51%) | |
hsl(330, 100%, 51%) |
#848082 Color Usage In CSS
body { color: #848082; } p { color: rgb(132, 128, 130); } header { border-bottom:1px solid #848082; }