#918d79 Color
Color Codes | |
---|---|
Hex Code | #918d79 |
RGB Code | rgb(145, 141, 121) |
HSL Code | hsl(50, 10%, 52%) |
#918d79 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(145, 141, 121); }
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(50, 10%, 52%); }
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 #918d79
RGB Code | Hex Code | Preview |
---|---|---|
rgb(145, 141, 121, 10%) | #918d791a | |
rgb(145, 141, 121, 20%) | #918d7933 | |
rgb(145, 141, 121, 40%) | #918d794C | |
rgb(145, 141, 121, 60%) | #918d7999 | |
rgb(145, 141, 121, 80%) | #918d79CC | |
rgb(145, 141, 121, 100%) | #918d79FF |
Saturated and desaturated colors of #918d79
HSL Code | Preview |
---|---|
hsl(50, 10%, 52%) | |
hsl(50, 20%, 52%) | |
hsl(50, 40%, 52%) | |
hsl(50, 60%, 52%) | |
hsl(50, 80%, 52%) | |
hsl(50, 100%, 52%) |
#918d79 Color Usage In CSS
body { color: #918d79; } p { color: rgb(145, 141, 121); } header { border-bottom:1px solid #918d79; }