#b18b97 Color
Color Codes | |
---|---|
Hex Code | #b18b97 |
RGB Code | rgb(177, 139, 151) |
HSL Code | hsl(341, 20%, 62%) |
#b18b97 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(177, 139, 151); }
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(341, 20%, 62%); }
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 #b18b97
RGB Code | Hex Code | Preview |
---|---|---|
rgb(177, 139, 151, 10%) | #b18b971a | |
rgb(177, 139, 151, 20%) | #b18b9733 | |
rgb(177, 139, 151, 40%) | #b18b974C | |
rgb(177, 139, 151, 60%) | #b18b9799 | |
rgb(177, 139, 151, 80%) | #b18b97CC | |
rgb(177, 139, 151, 100%) | #b18b97FF |
Saturated and desaturated colors of #b18b97
HSL Code | Preview |
---|---|
hsl(341, 10%, 62%) | |
hsl(341, 20%, 62%) | |
hsl(341, 40%, 62%) | |
hsl(341, 60%, 62%) | |
hsl(341, 80%, 62%) | |
hsl(341, 100%, 62%) |
#b18b97 Color Usage In CSS
body { color: #b18b97; } p { color: rgb(177, 139, 151); } header { border-bottom:1px solid #b18b97; }