#b1a7ea Color
Color Codes | |
---|---|
Hex Code | #b1a7ea |
RGB Code | rgb(177, 167, 234) |
HSL Code | hsl(249, 61%, 79%) |
#b1a7ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 167, 234); }
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(249, 61%, 79%); }
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 #b1a7ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 167, 234, 10%) | #b1a7ea1a | |
rgb(177, 167, 234, 20%) | #b1a7ea33 | |
rgb(177, 167, 234, 40%) | #b1a7ea4C | |
rgb(177, 167, 234, 60%) | #b1a7ea99 | |
rgb(177, 167, 234, 80%) | #b1a7eaCC | |
rgb(177, 167, 234, 100%) | #b1a7eaFF |
Saturated and desaturated colors of #b1a7ea
HSL Code | Preview |
---|---|
hsl(249, 10%, 79%) | |
hsl(249, 20%, 79%) | |
hsl(249, 40%, 79%) | |
hsl(249, 60%, 79%) | |
hsl(249, 80%, 79%) | |
hsl(249, 100%, 79%) |
#b1a7ea Color Usage In CSS
body { color: #b1a7ea; } p { color: rgb(177, 167, 234); } header { border-bottom:1px solid #b1a7ea; }