#81827c Color
Color Codes | |
---|---|
Hex Code | #81827c |
RGB Code | rgb(129, 130, 124) |
HSL Code | hsl(70, 2%, 50%) |
#81827c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(129, 130, 124); }
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(70, 2%, 50%); }
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 #81827c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(129, 130, 124, 10%) | #81827c1a | |
rgb(129, 130, 124, 20%) | #81827c33 | |
rgb(129, 130, 124, 40%) | #81827c4C | |
rgb(129, 130, 124, 60%) | #81827c99 | |
rgb(129, 130, 124, 80%) | #81827cCC | |
rgb(129, 130, 124, 100%) | #81827cFF |
Saturated and desaturated colors of #81827c
HSL Code | Preview |
---|---|
hsl(70, 10%, 50%) | |
hsl(70, 20%, 50%) | |
hsl(70, 40%, 50%) | |
hsl(70, 60%, 50%) | |
hsl(70, 80%, 50%) | |
hsl(70, 100%, 50%) |
#81827c Color Usage In CSS
body { color: #81827c; } p { color: rgb(129, 130, 124); } header { border-bottom:1px solid #81827c; }