#8caebb Color
Color Codes | |
---|---|
Hex Code | #8caebb |
RGB Code | rgb(140, 174, 187) |
HSL Code | hsl(197, 26%, 64%) |
#8caebb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(140, 174, 187); }
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(197, 26%, 64%); }
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 #8caebb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(140, 174, 187, 10%) | #8caebb1a | |
rgb(140, 174, 187, 20%) | #8caebb33 | |
rgb(140, 174, 187, 40%) | #8caebb4C | |
rgb(140, 174, 187, 60%) | #8caebb99 | |
rgb(140, 174, 187, 80%) | #8caebbCC | |
rgb(140, 174, 187, 100%) | #8caebbFF |
Saturated and desaturated colors of #8caebb
HSL Code | Preview |
---|---|
hsl(197, 10%, 64%) | |
hsl(197, 20%, 64%) | |
hsl(197, 40%, 64%) | |
hsl(197, 60%, 64%) | |
hsl(197, 80%, 64%) | |
hsl(197, 100%, 64%) |
#8caebb Color Usage In CSS
body { color: #8caebb; } p { color: rgb(140, 174, 187); } header { border-bottom:1px solid #8caebb; }