#7b8e60 Color
Color Codes | |
---|---|
Hex Code | #7b8e60 |
RGB Code | rgb(123, 142, 96) |
HSL Code | hsl(85, 19%, 47%) |
#7b8e60 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 142, 96); }
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(85, 19%, 47%); }
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 #7b8e60
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 142, 96, 10%) | #7b8e601a | |
rgb(123, 142, 96, 20%) | #7b8e6033 | |
rgb(123, 142, 96, 40%) | #7b8e604C | |
rgb(123, 142, 96, 60%) | #7b8e6099 | |
rgb(123, 142, 96, 80%) | #7b8e60CC | |
rgb(123, 142, 96, 100%) | #7b8e60FF |
Saturated and desaturated colors of #7b8e60
HSL Code | Preview |
---|---|
hsl(85, 10%, 47%) | |
hsl(85, 20%, 47%) | |
hsl(85, 40%, 47%) | |
hsl(85, 60%, 47%) | |
hsl(85, 80%, 47%) | |
hsl(85, 100%, 47%) |
#7b8e60 Color Usage In CSS
body { color: #7b8e60; } p { color: rgb(123, 142, 96); } header { border-bottom:1px solid #7b8e60; }