#5e114d Color
Color Codes | |
---|---|
Hex Code | #5e114d |
RGB Code | rgb(94, 17, 77) |
HSL Code | hsl(313, 69%, 22%) |
#5e114d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(94, 17, 77); }
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(313, 69%, 22%); }
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 #5e114d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(94, 17, 77, 10%) | #5e114d1a | |
rgb(94, 17, 77, 20%) | #5e114d33 | |
rgb(94, 17, 77, 40%) | #5e114d4C | |
rgb(94, 17, 77, 60%) | #5e114d99 | |
rgb(94, 17, 77, 80%) | #5e114dCC | |
rgb(94, 17, 77, 100%) | #5e114dFF |
Saturated and desaturated colors of #5e114d
HSL Code | Preview |
---|---|
hsl(313, 10%, 22%) | |
hsl(313, 20%, 22%) | |
hsl(313, 40%, 22%) | |
hsl(313, 60%, 22%) | |
hsl(313, 80%, 22%) | |
hsl(313, 100%, 22%) |
#5e114d Color Usage In CSS
body { color: #5e114d; } p { color: rgb(94, 17, 77); } header { border-bottom:1px solid #5e114d; }