#80a8eb Color
Color Codes | |
---|---|
Hex Code | #80a8eb |
RGB Code | rgb(128, 168, 235) |
HSL Code | hsl(218, 73%, 71%) |
#80a8eb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(128, 168, 235); }
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(218, 73%, 71%); }
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 #80a8eb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(128, 168, 235, 10%) | #80a8eb1a | |
rgb(128, 168, 235, 20%) | #80a8eb33 | |
rgb(128, 168, 235, 40%) | #80a8eb4C | |
rgb(128, 168, 235, 60%) | #80a8eb99 | |
rgb(128, 168, 235, 80%) | #80a8ebCC | |
rgb(128, 168, 235, 100%) | #80a8ebFF |
Saturated and desaturated colors of #80a8eb
HSL Code | Preview |
---|---|
hsl(218, 10%, 71%) | |
hsl(218, 20%, 71%) | |
hsl(218, 40%, 71%) | |
hsl(218, 60%, 71%) | |
hsl(218, 80%, 71%) | |
hsl(218, 100%, 71%) |
#80a8eb Color Usage In CSS
body { color: #80a8eb; } p { color: rgb(128, 168, 235); } header { border-bottom:1px solid #80a8eb; }