#7b3984 Color
Color Codes | |
---|---|
Hex Code | #7b3984 |
RGB Code | rgb(123, 57, 132) |
HSL Code | hsl(293, 40%, 37%) |
#7b3984 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 57, 132); }
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(293, 40%, 37%); }
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 #7b3984
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 57, 132, 10%) | #7b39841a | |
rgb(123, 57, 132, 20%) | #7b398433 | |
rgb(123, 57, 132, 40%) | #7b39844C | |
rgb(123, 57, 132, 60%) | #7b398499 | |
rgb(123, 57, 132, 80%) | #7b3984CC | |
rgb(123, 57, 132, 100%) | #7b3984FF |
Saturated and desaturated colors of #7b3984
HSL Code | Preview |
---|---|
hsl(293, 10%, 37%) | |
hsl(293, 20%, 37%) | |
hsl(293, 40%, 37%) | |
hsl(293, 60%, 37%) | |
hsl(293, 80%, 37%) | |
hsl(293, 100%, 37%) |
#7b3984 Color Usage In CSS
body { color: #7b3984; } p { color: rgb(123, 57, 132); } header { border-bottom:1px solid #7b3984; }