#5d1853 Color
Color Codes | |
---|---|
Hex Code | #5d1853 |
RGB Code | rgb(93, 24, 83) |
HSL Code | hsl(309, 59%, 23%) |
#5d1853 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 24, 83); }
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(309, 59%, 23%); }
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 #5d1853
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 24, 83, 10%) | #5d18531a | |
rgb(93, 24, 83, 20%) | #5d185333 | |
rgb(93, 24, 83, 40%) | #5d18534C | |
rgb(93, 24, 83, 60%) | #5d185399 | |
rgb(93, 24, 83, 80%) | #5d1853CC | |
rgb(93, 24, 83, 100%) | #5d1853FF |
Saturated and desaturated colors of #5d1853
HSL Code | Preview |
---|---|
hsl(309, 10%, 23%) | |
hsl(309, 20%, 23%) | |
hsl(309, 40%, 23%) | |
hsl(309, 60%, 23%) | |
hsl(309, 80%, 23%) | |
hsl(309, 100%, 23%) |
#5d1853 Color Usage In CSS
body { color: #5d1853; } p { color: rgb(93, 24, 83); } header { border-bottom:1px solid #5d1853; }