#9f1662 Color
Color Codes | |
---|---|
Hex Code | #9f1662 |
RGB Code | rgb(159, 22, 98) |
HSL Code | hsl(327, 76%, 35%) |
#9f1662 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 22, 98); }
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(327, 76%, 35%); }
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 #9f1662
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 22, 98, 10%) | #9f16621a | |
rgb(159, 22, 98, 20%) | #9f166233 | |
rgb(159, 22, 98, 40%) | #9f16624C | |
rgb(159, 22, 98, 60%) | #9f166299 | |
rgb(159, 22, 98, 80%) | #9f1662CC | |
rgb(159, 22, 98, 100%) | #9f1662FF |
Saturated and desaturated colors of #9f1662
HSL Code | Preview |
---|---|
hsl(327, 10%, 35%) | |
hsl(327, 20%, 35%) | |
hsl(327, 40%, 35%) | |
hsl(327, 60%, 35%) | |
hsl(327, 80%, 35%) | |
hsl(327, 100%, 35%) |
#9f1662 Color Usage In CSS
body { color: #9f1662; } p { color: rgb(159, 22, 98); } header { border-bottom:1px solid #9f1662; }