#5d0921 Color
Color Codes | |
---|---|
Hex Code | #5d0921 |
RGB Code | rgb(93, 09, 33) |
HSL Code | hsl(343, 82%, 20%) |
#5d0921 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 09, 33); }
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(343, 82%, 20%); }
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 #5d0921
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 09, 33, 10%) | #5d09211a | |
rgb(93, 09, 33, 20%) | #5d092133 | |
rgb(93, 09, 33, 40%) | #5d09214C | |
rgb(93, 09, 33, 60%) | #5d092199 | |
rgb(93, 09, 33, 80%) | #5d0921CC | |
rgb(93, 09, 33, 100%) | #5d0921FF |
Saturated and desaturated colors of #5d0921
HSL Code | Preview |
---|---|
hsl(343, 10%, 20%) | |
hsl(343, 20%, 20%) | |
hsl(343, 40%, 20%) | |
hsl(343, 60%, 20%) | |
hsl(343, 80%, 20%) | |
hsl(343, 100%, 20%) |
#5d0921 Color Usage In CSS
body { color: #5d0921; } p { color: rgb(93, 09, 33); } header { border-bottom:1px solid #5d0921; }