#5e2967 Color
Color Codes | |
---|---|
Hex Code | #5e2967 |
RGB Code | rgb(94, 41, 103) |
HSL Code | hsl(291, 43%, 28%) |
#5e2967 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 41, 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(291, 43%, 28%); }
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 #5e2967
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 41, 103, 10%) | #5e29671a | |
rgb(94, 41, 103, 20%) | #5e296733 | |
rgb(94, 41, 103, 40%) | #5e29674C | |
rgb(94, 41, 103, 60%) | #5e296799 | |
rgb(94, 41, 103, 80%) | #5e2967CC | |
rgb(94, 41, 103, 100%) | #5e2967FF |
Saturated and desaturated colors of #5e2967
HSL Code | Preview |
---|---|
hsl(291, 10%, 28%) | |
hsl(291, 20%, 28%) | |
hsl(291, 40%, 28%) | |
hsl(291, 60%, 28%) | |
hsl(291, 80%, 28%) | |
hsl(291, 100%, 28%) |
#5e2967 Color Usage In CSS
body { color: #5e2967; } p { color: rgb(94, 41, 103); } header { border-bottom:1px solid #5e2967; }