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