#9e6964 Color
Color Codes | |
---|---|
Hex Code | #9e6964 |
RGB Code | rgb(158, 105, 100) |
HSL Code | hsl(5, 23%, 51%) |
#9e6964 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 105, 100); }
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(5, 23%, 51%); }
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 #9e6964
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 105, 100, 10%) | #9e69641a | |
rgb(158, 105, 100, 20%) | #9e696433 | |
rgb(158, 105, 100, 40%) | #9e69644C | |
rgb(158, 105, 100, 60%) | #9e696499 | |
rgb(158, 105, 100, 80%) | #9e6964CC | |
rgb(158, 105, 100, 100%) | #9e6964FF |
Saturated and desaturated colors of #9e6964
HSL Code | Preview |
---|---|
hsl(5, 10%, 51%) | |
hsl(5, 20%, 51%) | |
hsl(5, 40%, 51%) | |
hsl(5, 60%, 51%) | |
hsl(5, 80%, 51%) | |
hsl(5, 100%, 51%) |
#9e6964 Color Usage In CSS
body { color: #9e6964; } p { color: rgb(158, 105, 100); } header { border-bottom:1px solid #9e6964; }