#7ab4d5 Color
Color Codes | |
---|---|
Hex Code | #7ab4d5 |
RGB Code | rgb(122, 180, 213) |
HSL Code | hsl(202, 52%, 66%) |
#7ab4d5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 180, 213); }
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, 52%, 66%); }
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 #7ab4d5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 180, 213, 10%) | #7ab4d51a | |
rgb(122, 180, 213, 20%) | #7ab4d533 | |
rgb(122, 180, 213, 40%) | #7ab4d54C | |
rgb(122, 180, 213, 60%) | #7ab4d599 | |
rgb(122, 180, 213, 80%) | #7ab4d5CC | |
rgb(122, 180, 213, 100%) | #7ab4d5FF |
Saturated and desaturated colors of #7ab4d5
HSL Code | Preview |
---|---|
hsl(202, 10%, 66%) | |
hsl(202, 20%, 66%) | |
hsl(202, 40%, 66%) | |
hsl(202, 60%, 66%) | |
hsl(202, 80%, 66%) | |
hsl(202, 100%, 66%) |
#7ab4d5 Color Usage In CSS
body { color: #7ab4d5; } p { color: rgb(122, 180, 213); } header { border-bottom:1px solid #7ab4d5; }