#7a8272 Color
Color Codes | |
---|---|
Hex Code | #7a8272 |
RGB Code | rgb(122, 130, 114) |
HSL Code | hsl(90, 7%, 48%) |
#7a8272 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 130, 114); }
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(90, 7%, 48%); }
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 #7a8272
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 130, 114, 10%) | #7a82721a | |
rgb(122, 130, 114, 20%) | #7a827233 | |
rgb(122, 130, 114, 40%) | #7a82724C | |
rgb(122, 130, 114, 60%) | #7a827299 | |
rgb(122, 130, 114, 80%) | #7a8272CC | |
rgb(122, 130, 114, 100%) | #7a8272FF |
Saturated and desaturated colors of #7a8272
HSL Code | Preview |
---|---|
hsl(90, 10%, 48%) | |
hsl(90, 20%, 48%) | |
hsl(90, 40%, 48%) | |
hsl(90, 60%, 48%) | |
hsl(90, 80%, 48%) | |
hsl(90, 100%, 48%) |
#7a8272 Color Usage In CSS
body { color: #7a8272; } p { color: rgb(122, 130, 114); } header { border-bottom:1px solid #7a8272; }