#98818b Color
Color Codes | |
---|---|
Hex Code | #98818b |
RGB Code | rgb(152, 129, 139) |
HSL Code | hsl(334, 10%, 55%) |
#98818b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 129, 139); }
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(334, 10%, 55%); }
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 #98818b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 129, 139, 10%) | #98818b1a | |
rgb(152, 129, 139, 20%) | #98818b33 | |
rgb(152, 129, 139, 40%) | #98818b4C | |
rgb(152, 129, 139, 60%) | #98818b99 | |
rgb(152, 129, 139, 80%) | #98818bCC | |
rgb(152, 129, 139, 100%) | #98818bFF |
Saturated and desaturated colors of #98818b
HSL Code | Preview |
---|---|
hsl(334, 10%, 55%) | |
hsl(334, 20%, 55%) | |
hsl(334, 40%, 55%) | |
hsl(334, 60%, 55%) | |
hsl(334, 80%, 55%) | |
hsl(334, 100%, 55%) |
#98818b Color Usage In CSS
body { color: #98818b; } p { color: rgb(152, 129, 139); } header { border-bottom:1px solid #98818b; }