#5e3b6d Color
Color Codes | |
---|---|
Hex Code | #5e3b6d |
RGB Code | rgb(94, 59, 109) |
HSL Code | hsl(282, 30%, 33%) |
#5e3b6d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 59, 109); }
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(282, 30%, 33%); }
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 #5e3b6d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 59, 109, 10%) | #5e3b6d1a | |
rgb(94, 59, 109, 20%) | #5e3b6d33 | |
rgb(94, 59, 109, 40%) | #5e3b6d4C | |
rgb(94, 59, 109, 60%) | #5e3b6d99 | |
rgb(94, 59, 109, 80%) | #5e3b6dCC | |
rgb(94, 59, 109, 100%) | #5e3b6dFF |
Saturated and desaturated colors of #5e3b6d
HSL Code | Preview |
---|---|
hsl(282, 10%, 33%) | |
hsl(282, 20%, 33%) | |
hsl(282, 40%, 33%) | |
hsl(282, 60%, 33%) | |
hsl(282, 80%, 33%) | |
hsl(282, 100%, 33%) |
#5e3b6d Color Usage In CSS
body { color: #5e3b6d; } p { color: rgb(94, 59, 109); } header { border-bottom:1px solid #5e3b6d; }