#9c5756 Color
Color Codes | |
---|---|
Hex Code | #9c5756 |
RGB Code | rgb(156, 87, 86) |
HSL Code | hsl(1, 29%, 47%) |
#9c5756 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 87, 86); }
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(1, 29%, 47%); }
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 #9c5756
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 87, 86, 10%) | #9c57561a | |
rgb(156, 87, 86, 20%) | #9c575633 | |
rgb(156, 87, 86, 40%) | #9c57564C | |
rgb(156, 87, 86, 60%) | #9c575699 | |
rgb(156, 87, 86, 80%) | #9c5756CC | |
rgb(156, 87, 86, 100%) | #9c5756FF |
Saturated and desaturated colors of #9c5756
HSL Code | Preview |
---|---|
hsl(1, 10%, 47%) | |
hsl(1, 20%, 47%) | |
hsl(1, 40%, 47%) | |
hsl(1, 60%, 47%) | |
hsl(1, 80%, 47%) | |
hsl(1, 100%, 47%) |
#9c5756 Color Usage In CSS
body { color: #9c5756; } p { color: rgb(156, 87, 86); } header { border-bottom:1px solid #9c5756; }