#9c5555 Color
Color Codes | |
---|---|
Hex Code | #9c5555 |
RGB Code | rgb(156, 85, 85) |
HSL Code | hsl(0, 29%, 47%) |
#9c5555 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 85, 85); }
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(0, 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 #9c5555
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 85, 85, 10%) | #9c55551a | |
rgb(156, 85, 85, 20%) | #9c555533 | |
rgb(156, 85, 85, 40%) | #9c55554C | |
rgb(156, 85, 85, 60%) | #9c555599 | |
rgb(156, 85, 85, 80%) | #9c5555CC | |
rgb(156, 85, 85, 100%) | #9c5555FF |
Saturated and desaturated colors of #9c5555
HSL Code | Preview |
---|---|
hsl(0, 10%, 47%) | |
hsl(0, 20%, 47%) | |
hsl(0, 40%, 47%) | |
hsl(0, 60%, 47%) | |
hsl(0, 80%, 47%) | |
hsl(0, 100%, 47%) |
#9c5555 Color Usage In CSS
body { color: #9c5555; } p { color: rgb(156, 85, 85); } header { border-bottom:1px solid #9c5555; }