#9b5f6a Color
Color Codes | |
---|---|
Hex Code | #9b5f6a |
RGB Code | rgb(155, 95, 106) |
HSL Code | hsl(349, 24%, 49%) |
#9b5f6a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(155, 95, 106); }
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(349, 24%, 49%); }
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 #9b5f6a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(155, 95, 106, 10%) | #9b5f6a1a | |
rgb(155, 95, 106, 20%) | #9b5f6a33 | |
rgb(155, 95, 106, 40%) | #9b5f6a4C | |
rgb(155, 95, 106, 60%) | #9b5f6a99 | |
rgb(155, 95, 106, 80%) | #9b5f6aCC | |
rgb(155, 95, 106, 100%) | #9b5f6aFF |
Saturated and desaturated colors of #9b5f6a
HSL Code | Preview |
---|---|
hsl(349, 10%, 49%) | |
hsl(349, 20%, 49%) | |
hsl(349, 40%, 49%) | |
hsl(349, 60%, 49%) | |
hsl(349, 80%, 49%) | |
hsl(349, 100%, 49%) |
#9b5f6a Color Usage In CSS
body { color: #9b5f6a; } p { color: rgb(155, 95, 106); } header { border-bottom:1px solid #9b5f6a; }