#7a9bae Color
Color Codes | |
---|---|
Hex Code | #7a9bae |
RGB Code | rgb(122, 155, 174) |
HSL Code | hsl(202, 24%, 58%) |
#7a9bae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 155, 174); }
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(202, 24%, 58%); }
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 #7a9bae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 155, 174, 10%) | #7a9bae1a | |
rgb(122, 155, 174, 20%) | #7a9bae33 | |
rgb(122, 155, 174, 40%) | #7a9bae4C | |
rgb(122, 155, 174, 60%) | #7a9bae99 | |
rgb(122, 155, 174, 80%) | #7a9baeCC | |
rgb(122, 155, 174, 100%) | #7a9baeFF |
Saturated and desaturated colors of #7a9bae
HSL Code | Preview |
---|---|
hsl(202, 10%, 58%) | |
hsl(202, 20%, 58%) | |
hsl(202, 40%, 58%) | |
hsl(202, 60%, 58%) | |
hsl(202, 80%, 58%) | |
hsl(202, 100%, 58%) |
#7a9bae Color Usage In CSS
body { color: #7a9bae; } p { color: rgb(122, 155, 174); } header { border-bottom:1px solid #7a9bae; }