#7b3477 Color
Color Codes | |
---|---|
Hex Code | #7b3477 |
RGB Code | rgb(123, 52, 119) |
HSL Code | hsl(303, 41%, 34%) |
#7b3477 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 52, 119); }
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(303, 41%, 34%); }
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 #7b3477
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 52, 119, 10%) | #7b34771a | |
rgb(123, 52, 119, 20%) | #7b347733 | |
rgb(123, 52, 119, 40%) | #7b34774C | |
rgb(123, 52, 119, 60%) | #7b347799 | |
rgb(123, 52, 119, 80%) | #7b3477CC | |
rgb(123, 52, 119, 100%) | #7b3477FF |
Saturated and desaturated colors of #7b3477
HSL Code | Preview |
---|---|
hsl(303, 10%, 34%) | |
hsl(303, 20%, 34%) | |
hsl(303, 40%, 34%) | |
hsl(303, 60%, 34%) | |
hsl(303, 80%, 34%) | |
hsl(303, 100%, 34%) |
#7b3477 Color Usage In CSS
body { color: #7b3477; } p { color: rgb(123, 52, 119); } header { border-bottom:1px solid #7b3477; }