#9d405d Color
Color Codes | |
---|---|
Hex Code | #9d405d |
RGB Code | rgb(157, 64, 93) |
HSL Code | hsl(341, 42%, 43%) |
#9d405d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(157, 64, 93); }
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(341, 42%, 43%); }
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 #9d405d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(157, 64, 93, 10%) | #9d405d1a | |
rgb(157, 64, 93, 20%) | #9d405d33 | |
rgb(157, 64, 93, 40%) | #9d405d4C | |
rgb(157, 64, 93, 60%) | #9d405d99 | |
rgb(157, 64, 93, 80%) | #9d405dCC | |
rgb(157, 64, 93, 100%) | #9d405dFF |
Saturated and desaturated colors of #9d405d
HSL Code | Preview |
---|---|
hsl(341, 10%, 43%) | |
hsl(341, 20%, 43%) | |
hsl(341, 40%, 43%) | |
hsl(341, 60%, 43%) | |
hsl(341, 80%, 43%) | |
hsl(341, 100%, 43%) |
#9d405d Color Usage In CSS
body { color: #9d405d; } p { color: rgb(157, 64, 93); } header { border-bottom:1px solid #9d405d; }