#5d2631 Color
Color Codes | |
---|---|
Hex Code | #5d2631 |
RGB Code | rgb(93, 38, 49) |
HSL Code | hsl(348, 42%, 26%) |
#5d2631 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 38, 49); }
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(348, 42%, 26%); }
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 #5d2631
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 38, 49, 10%) | #5d26311a | |
rgb(93, 38, 49, 20%) | #5d263133 | |
rgb(93, 38, 49, 40%) | #5d26314C | |
rgb(93, 38, 49, 60%) | #5d263199 | |
rgb(93, 38, 49, 80%) | #5d2631CC | |
rgb(93, 38, 49, 100%) | #5d2631FF |
Saturated and desaturated colors of #5d2631
HSL Code | Preview |
---|---|
hsl(348, 10%, 26%) | |
hsl(348, 20%, 26%) | |
hsl(348, 40%, 26%) | |
hsl(348, 60%, 26%) | |
hsl(348, 80%, 26%) | |
hsl(348, 100%, 26%) |
#5d2631 Color Usage In CSS
body { color: #5d2631; } p { color: rgb(93, 38, 49); } header { border-bottom:1px solid #5d2631; }