#937db7 Color
Color Codes | |
---|---|
Hex Code | #937db7 |
RGB Code | rgb(147, 125, 183) |
HSL Code | hsl(263, 29%, 60%) |
#937db7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(147, 125, 183); }
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(263, 29%, 60%); }
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 #937db7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(147, 125, 183, 10%) | #937db71a | |
rgb(147, 125, 183, 20%) | #937db733 | |
rgb(147, 125, 183, 40%) | #937db74C | |
rgb(147, 125, 183, 60%) | #937db799 | |
rgb(147, 125, 183, 80%) | #937db7CC | |
rgb(147, 125, 183, 100%) | #937db7FF |
Saturated and desaturated colors of #937db7
HSL Code | Preview |
---|---|
hsl(263, 10%, 60%) | |
hsl(263, 20%, 60%) | |
hsl(263, 40%, 60%) | |
hsl(263, 60%, 60%) | |
hsl(263, 80%, 60%) | |
hsl(263, 100%, 60%) |
#937db7 Color Usage In CSS
body { color: #937db7; } p { color: rgb(147, 125, 183); } header { border-bottom:1px solid #937db7; }