#b5cefa Color
Color Codes | |
---|---|
Hex Code | #b5cefa |
RGB Code | rgb(181, 206, 250) |
HSL Code | hsl(218, 87%, 85%) |
#b5cefa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(181, 206, 250); }
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, 87%, 85%); }
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 #b5cefa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(181, 206, 250, 10%) | #b5cefa1a | |
rgb(181, 206, 250, 20%) | #b5cefa33 | |
rgb(181, 206, 250, 40%) | #b5cefa4C | |
rgb(181, 206, 250, 60%) | #b5cefa99 | |
rgb(181, 206, 250, 80%) | #b5cefaCC | |
rgb(181, 206, 250, 100%) | #b5cefaFF |
Saturated and desaturated colors of #b5cefa
HSL Code | Preview |
---|---|
hsl(218, 10%, 85%) | |
hsl(218, 20%, 85%) | |
hsl(218, 40%, 85%) | |
hsl(218, 60%, 85%) | |
hsl(218, 80%, 85%) | |
hsl(218, 100%, 85%) |
#b5cefa Color Usage In CSS
body { color: #b5cefa; } p { color: rgb(181, 206, 250); } header { border-bottom:1px solid #b5cefa; }