#7d8856 Color
Color Codes | |
---|---|
Hex Code | #7d8856 |
RGB Code | rgb(125, 136, 86) |
HSL Code | hsl(73, 23%, 44%) |
#7d8856 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(125, 136, 86); }
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(73, 23%, 44%); }
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 #7d8856
RGB Code | Hex Code | Preview |
---|---|---|
rgb(125, 136, 86, 10%) | #7d88561a | |
rgb(125, 136, 86, 20%) | #7d885633 | |
rgb(125, 136, 86, 40%) | #7d88564C | |
rgb(125, 136, 86, 60%) | #7d885699 | |
rgb(125, 136, 86, 80%) | #7d8856CC | |
rgb(125, 136, 86, 100%) | #7d8856FF |
Saturated and desaturated colors of #7d8856
HSL Code | Preview |
---|---|
hsl(73, 10%, 44%) | |
hsl(73, 20%, 44%) | |
hsl(73, 40%, 44%) | |
hsl(73, 60%, 44%) | |
hsl(73, 80%, 44%) | |
hsl(73, 100%, 44%) |
#7d8856 Color Usage In CSS
body { color: #7d8856; } p { color: rgb(125, 136, 86); } header { border-bottom:1px solid #7d8856; }