#b5a697 Color
Color Codes | |
---|---|
Hex Code | #b5a697 |
RGB Code | rgb(181, 166, 151) |
HSL Code | hsl(30, 17%, 65%) |
#b5a697 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(181, 166, 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(30, 17%, 65%); }
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 #b5a697
RGB Code | Hex Code | Preview |
---|---|---|
rgb(181, 166, 151, 10%) | #b5a6971a | |
rgb(181, 166, 151, 20%) | #b5a69733 | |
rgb(181, 166, 151, 40%) | #b5a6974C | |
rgb(181, 166, 151, 60%) | #b5a69799 | |
rgb(181, 166, 151, 80%) | #b5a697CC | |
rgb(181, 166, 151, 100%) | #b5a697FF |
Saturated and desaturated colors of #b5a697
HSL Code | Preview |
---|---|
hsl(30, 10%, 65%) | |
hsl(30, 20%, 65%) | |
hsl(30, 40%, 65%) | |
hsl(30, 60%, 65%) | |
hsl(30, 80%, 65%) | |
hsl(30, 100%, 65%) |
#b5a697 Color Usage In CSS
body { color: #b5a697; } p { color: rgb(181, 166, 151); } header { border-bottom:1px solid #b5a697; }