#8aa0d0 Color
Color Codes | |
---|---|
Hex Code | #8aa0d0 |
RGB Code | rgb(138, 160, 208) |
HSL Code | hsl(221, 43%, 68%) |
#8aa0d0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 160, 208); }
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(221, 43%, 68%); }
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 #8aa0d0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 160, 208, 10%) | #8aa0d01a | |
rgb(138, 160, 208, 20%) | #8aa0d033 | |
rgb(138, 160, 208, 40%) | #8aa0d04C | |
rgb(138, 160, 208, 60%) | #8aa0d099 | |
rgb(138, 160, 208, 80%) | #8aa0d0CC | |
rgb(138, 160, 208, 100%) | #8aa0d0FF |
Saturated and desaturated colors of #8aa0d0
HSL Code | Preview |
---|---|
hsl(221, 10%, 68%) | |
hsl(221, 20%, 68%) | |
hsl(221, 40%, 68%) | |
hsl(221, 60%, 68%) | |
hsl(221, 80%, 68%) | |
hsl(221, 100%, 68%) |
#8aa0d0 Color Usage In CSS
body { color: #8aa0d0; } p { color: rgb(138, 160, 208); } header { border-bottom:1px solid #8aa0d0; }