#9f2667 Color
Color Codes | |
---|---|
Hex Code | #9f2667 |
RGB Code | rgb(159, 38, 103) |
HSL Code | hsl(328, 61%, 39%) |
#9f2667 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 38, 103); }
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(328, 61%, 39%); }
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 #9f2667
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 38, 103, 10%) | #9f26671a | |
rgb(159, 38, 103, 20%) | #9f266733 | |
rgb(159, 38, 103, 40%) | #9f26674C | |
rgb(159, 38, 103, 60%) | #9f266799 | |
rgb(159, 38, 103, 80%) | #9f2667CC | |
rgb(159, 38, 103, 100%) | #9f2667FF |
Saturated and desaturated colors of #9f2667
HSL Code | Preview |
---|---|
hsl(328, 10%, 39%) | |
hsl(328, 20%, 39%) | |
hsl(328, 40%, 39%) | |
hsl(328, 60%, 39%) | |
hsl(328, 80%, 39%) | |
hsl(328, 100%, 39%) |
#9f2667 Color Usage In CSS
body { color: #9f2667; } p { color: rgb(159, 38, 103); } header { border-bottom:1px solid #9f2667; }