#9c545c Color
Color Codes | |
---|---|
Hex Code | #9c545c |
RGB Code | rgb(156, 84, 92) |
HSL Code | hsl(353, 30%, 47%) |
#9c545c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 84, 92); }
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(353, 30%, 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 #9c545c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 84, 92, 10%) | #9c545c1a | |
rgb(156, 84, 92, 20%) | #9c545c33 | |
rgb(156, 84, 92, 40%) | #9c545c4C | |
rgb(156, 84, 92, 60%) | #9c545c99 | |
rgb(156, 84, 92, 80%) | #9c545cCC | |
rgb(156, 84, 92, 100%) | #9c545cFF |
Saturated and desaturated colors of #9c545c
HSL Code | Preview |
---|---|
hsl(353, 10%, 47%) | |
hsl(353, 20%, 47%) | |
hsl(353, 40%, 47%) | |
hsl(353, 60%, 47%) | |
hsl(353, 80%, 47%) | |
hsl(353, 100%, 47%) |
#9c545c Color Usage In CSS
body { color: #9c545c; } p { color: rgb(156, 84, 92); } header { border-bottom:1px solid #9c545c; }