#958aac Color
Color Codes | |
---|---|
Hex Code | #958aac |
RGB Code | rgb(149, 138, 172) |
HSL Code | hsl(259, 17%, 61%) |
#958aac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(149, 138, 172); }
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(259, 17%, 61%); }
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 #958aac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(149, 138, 172, 10%) | #958aac1a | |
rgb(149, 138, 172, 20%) | #958aac33 | |
rgb(149, 138, 172, 40%) | #958aac4C | |
rgb(149, 138, 172, 60%) | #958aac99 | |
rgb(149, 138, 172, 80%) | #958aacCC | |
rgb(149, 138, 172, 100%) | #958aacFF |
Saturated and desaturated colors of #958aac
HSL Code | Preview |
---|---|
hsl(259, 10%, 61%) | |
hsl(259, 20%, 61%) | |
hsl(259, 40%, 61%) | |
hsl(259, 60%, 61%) | |
hsl(259, 80%, 61%) | |
hsl(259, 100%, 61%) |
#958aac Color Usage In CSS
body { color: #958aac; } p { color: rgb(149, 138, 172); } header { border-bottom:1px solid #958aac; }