#858aaa Color
Color Codes | |
---|---|
Hex Code | #858aaa |
RGB Code | rgb(133, 138, 170) |
HSL Code | hsl(232, 18%, 59%) |
#858aaa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(133, 138, 170); }
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(232, 18%, 59%); }
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 #858aaa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(133, 138, 170, 10%) | #858aaa1a | |
rgb(133, 138, 170, 20%) | #858aaa33 | |
rgb(133, 138, 170, 40%) | #858aaa4C | |
rgb(133, 138, 170, 60%) | #858aaa99 | |
rgb(133, 138, 170, 80%) | #858aaaCC | |
rgb(133, 138, 170, 100%) | #858aaaFF |
Saturated and desaturated colors of #858aaa
HSL Code | Preview |
---|---|
hsl(232, 10%, 59%) | |
hsl(232, 20%, 59%) | |
hsl(232, 40%, 59%) | |
hsl(232, 60%, 59%) | |
hsl(232, 80%, 59%) | |
hsl(232, 100%, 59%) |
#858aaa Color Usage In CSS
body { color: #858aaa; } p { color: rgb(133, 138, 170); } header { border-bottom:1px solid #858aaa; }