#b3a5cb Color
Color Codes | |
---|---|
Hex Code | #b3a5cb |
RGB Code | rgb(179, 165, 203) |
HSL Code | hsl(262, 27%, 72%) |
#b3a5cb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(179, 165, 203); }
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(262, 27%, 72%); }
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 #b3a5cb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(179, 165, 203, 10%) | #b3a5cb1a | |
rgb(179, 165, 203, 20%) | #b3a5cb33 | |
rgb(179, 165, 203, 40%) | #b3a5cb4C | |
rgb(179, 165, 203, 60%) | #b3a5cb99 | |
rgb(179, 165, 203, 80%) | #b3a5cbCC | |
rgb(179, 165, 203, 100%) | #b3a5cbFF |
Saturated and desaturated colors of #b3a5cb
HSL Code | Preview |
---|---|
hsl(262, 10%, 72%) | |
hsl(262, 20%, 72%) | |
hsl(262, 40%, 72%) | |
hsl(262, 60%, 72%) | |
hsl(262, 80%, 72%) | |
hsl(262, 100%, 72%) |
#b3a5cb Color Usage In CSS
body { color: #b3a5cb; } p { color: rgb(179, 165, 203); } header { border-bottom:1px solid #b3a5cb; }