#98908a Color
Color Codes | |
---|---|
Hex Code | #98908a |
RGB Code | rgb(152, 144, 138) |
HSL Code | hsl(26, 6%, 57%) |
#98908a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 144, 138); }
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(26, 6%, 57%); }
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 #98908a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 144, 138, 10%) | #98908a1a | |
rgb(152, 144, 138, 20%) | #98908a33 | |
rgb(152, 144, 138, 40%) | #98908a4C | |
rgb(152, 144, 138, 60%) | #98908a99 | |
rgb(152, 144, 138, 80%) | #98908aCC | |
rgb(152, 144, 138, 100%) | #98908aFF |
Saturated and desaturated colors of #98908a
HSL Code | Preview |
---|---|
hsl(26, 10%, 57%) | |
hsl(26, 20%, 57%) | |
hsl(26, 40%, 57%) | |
hsl(26, 60%, 57%) | |
hsl(26, 80%, 57%) | |
hsl(26, 100%, 57%) |
#98908a Color Usage In CSS
body { color: #98908a; } p { color: rgb(152, 144, 138); } header { border-bottom:1px solid #98908a; }