#b97ab3 Color
Color Codes | |
---|---|
Hex Code | #b97ab3 |
RGB Code | rgb(185, 122, 179) |
HSL Code | hsl(306, 31%, 60%) |
#b97ab3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(185, 122, 179); }
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(306, 31%, 60%); }
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 #b97ab3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(185, 122, 179, 10%) | #b97ab31a | |
rgb(185, 122, 179, 20%) | #b97ab333 | |
rgb(185, 122, 179, 40%) | #b97ab34C | |
rgb(185, 122, 179, 60%) | #b97ab399 | |
rgb(185, 122, 179, 80%) | #b97ab3CC | |
rgb(185, 122, 179, 100%) | #b97ab3FF |
Saturated and desaturated colors of #b97ab3
HSL Code | Preview |
---|---|
hsl(306, 10%, 60%) | |
hsl(306, 20%, 60%) | |
hsl(306, 40%, 60%) | |
hsl(306, 60%, 60%) | |
hsl(306, 80%, 60%) | |
hsl(306, 100%, 60%) |
#b97ab3 Color Usage In CSS
body { color: #b97ab3; } p { color: rgb(185, 122, 179); } header { border-bottom:1px solid #b97ab3; }