#b2aeee Color
Color Codes | |
---|---|
Hex Code | #b2aeee |
RGB Code | rgb(178, 174, 238) |
HSL Code | hsl(244, 65%, 81%) |
#b2aeee Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(178, 174, 238); }
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(244, 65%, 81%); }
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 #b2aeee
RGB Code | Hex Code | Preview |
---|---|---|
rgb(178, 174, 238, 10%) | #b2aeee1a | |
rgb(178, 174, 238, 20%) | #b2aeee33 | |
rgb(178, 174, 238, 40%) | #b2aeee4C | |
rgb(178, 174, 238, 60%) | #b2aeee99 | |
rgb(178, 174, 238, 80%) | #b2aeeeCC | |
rgb(178, 174, 238, 100%) | #b2aeeeFF |
Saturated and desaturated colors of #b2aeee
HSL Code | Preview |
---|---|
hsl(244, 10%, 81%) | |
hsl(244, 20%, 81%) | |
hsl(244, 40%, 81%) | |
hsl(244, 60%, 81%) | |
hsl(244, 80%, 81%) | |
hsl(244, 100%, 81%) |
#b2aeee Color Usage In CSS
body { color: #b2aeee; } p { color: rgb(178, 174, 238); } header { border-bottom:1px solid #b2aeee; }