#7aa298 Color
Color Codes | |
---|---|
Hex Code | #7aa298 |
RGB Code | rgb(122, 162, 152) |
HSL Code | hsl(165, 18%, 56%) |
#7aa298 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 162, 152); }
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(165, 18%, 56%); }
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 #7aa298
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 162, 152, 10%) | #7aa2981a | |
rgb(122, 162, 152, 20%) | #7aa29833 | |
rgb(122, 162, 152, 40%) | #7aa2984C | |
rgb(122, 162, 152, 60%) | #7aa29899 | |
rgb(122, 162, 152, 80%) | #7aa298CC | |
rgb(122, 162, 152, 100%) | #7aa298FF |
Saturated and desaturated colors of #7aa298
HSL Code | Preview |
---|---|
hsl(165, 10%, 56%) | |
hsl(165, 20%, 56%) | |
hsl(165, 40%, 56%) | |
hsl(165, 60%, 56%) | |
hsl(165, 80%, 56%) | |
hsl(165, 100%, 56%) |
#7aa298 Color Usage In CSS
body { color: #7aa298; } p { color: rgb(122, 162, 152); } header { border-bottom:1px solid #7aa298; }