#9e4b45 Color
Color Codes | |
---|---|
Hex Code | #9e4b45 |
RGB Code | rgb(158, 75, 69) |
HSL Code | hsl(4, 39%, 45%) |
#9e4b45 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(158, 75, 69); }
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(4, 39%, 45%); }
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 #9e4b45
RGB Code | Hex Code | Preview |
---|---|---|
rgb(158, 75, 69, 10%) | #9e4b451a | |
rgb(158, 75, 69, 20%) | #9e4b4533 | |
rgb(158, 75, 69, 40%) | #9e4b454C | |
rgb(158, 75, 69, 60%) | #9e4b4599 | |
rgb(158, 75, 69, 80%) | #9e4b45CC | |
rgb(158, 75, 69, 100%) | #9e4b45FF |
Saturated and desaturated colors of #9e4b45
HSL Code | Preview |
---|---|
hsl(4, 10%, 45%) | |
hsl(4, 20%, 45%) | |
hsl(4, 40%, 45%) | |
hsl(4, 60%, 45%) | |
hsl(4, 80%, 45%) | |
hsl(4, 100%, 45%) |
#9e4b45 Color Usage In CSS
body { color: #9e4b45; } p { color: rgb(158, 75, 69); } header { border-bottom:1px solid #9e4b45; }