#9f67b9 Color
Color Codes | |
---|---|
Hex Code | #9f67b9 |
RGB Code | rgb(159, 103, 185) |
HSL Code | hsl(281, 37%, 56%) |
#9f67b9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 103, 185); }
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(281, 37%, 56%); }
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 #9f67b9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 103, 185, 10%) | #9f67b91a | |
rgb(159, 103, 185, 20%) | #9f67b933 | |
rgb(159, 103, 185, 40%) | #9f67b94C | |
rgb(159, 103, 185, 60%) | #9f67b999 | |
rgb(159, 103, 185, 80%) | #9f67b9CC | |
rgb(159, 103, 185, 100%) | #9f67b9FF |
Saturated and desaturated colors of #9f67b9
HSL Code | Preview |
---|---|
hsl(281, 10%, 56%) | |
hsl(281, 20%, 56%) | |
hsl(281, 40%, 56%) | |
hsl(281, 60%, 56%) | |
hsl(281, 80%, 56%) | |
hsl(281, 100%, 56%) |
#9f67b9 Color Usage In CSS
body { color: #9f67b9; } p { color: rgb(159, 103, 185); } header { border-bottom:1px solid #9f67b9; }