#857aab Color
Color Codes | |
---|---|
Hex Code | #857aab |
RGB Code | rgb(133, 122, 171) |
HSL Code | hsl(253, 23%, 57%) |
#857aab Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(133, 122, 171); }
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(253, 23%, 57%); }
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 #857aab
RGB Code | Hex Code | Preview |
---|---|---|
rgb(133, 122, 171, 10%) | #857aab1a | |
rgb(133, 122, 171, 20%) | #857aab33 | |
rgb(133, 122, 171, 40%) | #857aab4C | |
rgb(133, 122, 171, 60%) | #857aab99 | |
rgb(133, 122, 171, 80%) | #857aabCC | |
rgb(133, 122, 171, 100%) | #857aabFF |
Saturated and desaturated colors of #857aab
HSL Code | Preview |
---|---|
hsl(253, 10%, 57%) | |
hsl(253, 20%, 57%) | |
hsl(253, 40%, 57%) | |
hsl(253, 60%, 57%) | |
hsl(253, 80%, 57%) | |
hsl(253, 100%, 57%) |
#857aab Color Usage In CSS
body { color: #857aab; } p { color: rgb(133, 122, 171); } header { border-bottom:1px solid #857aab; }