#988496 Color
Color Codes | |
---|---|
Hex Code | #988496 |
RGB Code | rgb(152, 132, 150) |
HSL Code | hsl(306, 9%, 56%) |
#988496 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 132, 150); }
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(306, 9%, 56%); }
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 #988496
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 132, 150, 10%) | #9884961a | |
rgb(152, 132, 150, 20%) | #98849633 | |
rgb(152, 132, 150, 40%) | #9884964C | |
rgb(152, 132, 150, 60%) | #98849699 | |
rgb(152, 132, 150, 80%) | #988496CC | |
rgb(152, 132, 150, 100%) | #988496FF |
Saturated and desaturated colors of #988496
HSL Code | Preview |
---|---|
hsl(306, 10%, 56%) | |
hsl(306, 20%, 56%) | |
hsl(306, 40%, 56%) | |
hsl(306, 60%, 56%) | |
hsl(306, 80%, 56%) | |
hsl(306, 100%, 56%) |
#988496 Color Usage In CSS
body { color: #988496; } p { color: rgb(152, 132, 150); } header { border-bottom:1px solid #988496; }