#b1a8ca Color
Color Codes | |
---|---|
Hex Code | #b1a8ca |
RGB Code | rgb(177, 168, 202) |
HSL Code | hsl(256, 24%, 73%) |
#b1a8ca Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 168, 202); }
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(256, 24%, 73%); }
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 #b1a8ca
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 168, 202, 10%) | #b1a8ca1a | |
rgb(177, 168, 202, 20%) | #b1a8ca33 | |
rgb(177, 168, 202, 40%) | #b1a8ca4C | |
rgb(177, 168, 202, 60%) | #b1a8ca99 | |
rgb(177, 168, 202, 80%) | #b1a8caCC | |
rgb(177, 168, 202, 100%) | #b1a8caFF |
Saturated and desaturated colors of #b1a8ca
HSL Code | Preview |
---|---|
hsl(256, 10%, 73%) | |
hsl(256, 20%, 73%) | |
hsl(256, 40%, 73%) | |
hsl(256, 60%, 73%) | |
hsl(256, 80%, 73%) | |
hsl(256, 100%, 73%) |
#b1a8ca Color Usage In CSS
body { color: #b1a8ca; } p { color: rgb(177, 168, 202); } header { border-bottom:1px solid #b1a8ca; }