#b2d8fc Color
Color Codes | |
---|---|
Hex Code | #b2d8fc |
RGB Code | rgb(178, 216, 252) |
HSL Code | hsl(209, 93%, 84%) |
#b2d8fc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 216, 252); }
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(209, 93%, 84%); }
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 #b2d8fc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 216, 252, 10%) | #b2d8fc1a | |
rgb(178, 216, 252, 20%) | #b2d8fc33 | |
rgb(178, 216, 252, 40%) | #b2d8fc4C | |
rgb(178, 216, 252, 60%) | #b2d8fc99 | |
rgb(178, 216, 252, 80%) | #b2d8fcCC | |
rgb(178, 216, 252, 100%) | #b2d8fcFF |
Saturated and desaturated colors of #b2d8fc
HSL Code | Preview |
---|---|
hsl(209, 10%, 84%) | |
hsl(209, 20%, 84%) | |
hsl(209, 40%, 84%) | |
hsl(209, 60%, 84%) | |
hsl(209, 80%, 84%) | |
hsl(209, 100%, 84%) |
#b2d8fc Color Usage In CSS
body { color: #b2d8fc; } p { color: rgb(178, 216, 252); } header { border-bottom:1px solid #b2d8fc; }