#868aa2 Color
Color Codes | |
---|---|
Hex Code | #868aa2 |
RGB Code | rgb(134, 138, 162) |
HSL Code | hsl(231, 13%, 58%) |
#868aa2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 138, 162); }
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(231, 13%, 58%); }
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 #868aa2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 138, 162, 10%) | #868aa21a | |
rgb(134, 138, 162, 20%) | #868aa233 | |
rgb(134, 138, 162, 40%) | #868aa24C | |
rgb(134, 138, 162, 60%) | #868aa299 | |
rgb(134, 138, 162, 80%) | #868aa2CC | |
rgb(134, 138, 162, 100%) | #868aa2FF |
Saturated and desaturated colors of #868aa2
HSL Code | Preview |
---|---|
hsl(231, 10%, 58%) | |
hsl(231, 20%, 58%) | |
hsl(231, 40%, 58%) | |
hsl(231, 60%, 58%) | |
hsl(231, 80%, 58%) | |
hsl(231, 100%, 58%) |
#868aa2 Color Usage In CSS
body { color: #868aa2; } p { color: rgb(134, 138, 162); } header { border-bottom:1px solid #868aa2; }