#5d4948 Color
Color Codes | |
---|---|
Hex Code | #5d4948 |
RGB Code | rgb(93, 73, 72) |
HSL Code | hsl(3, 13%, 32%) |
#5d4948 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 73, 72); }
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(3, 13%, 32%); }
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 #5d4948
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 73, 72, 10%) | #5d49481a | |
rgb(93, 73, 72, 20%) | #5d494833 | |
rgb(93, 73, 72, 40%) | #5d49484C | |
rgb(93, 73, 72, 60%) | #5d494899 | |
rgb(93, 73, 72, 80%) | #5d4948CC | |
rgb(93, 73, 72, 100%) | #5d4948FF |
Saturated and desaturated colors of #5d4948
HSL Code | Preview |
---|---|
hsl(3, 10%, 32%) | |
hsl(3, 20%, 32%) | |
hsl(3, 40%, 32%) | |
hsl(3, 60%, 32%) | |
hsl(3, 80%, 32%) | |
hsl(3, 100%, 32%) |
#5d4948 Color Usage In CSS
body { color: #5d4948; } p { color: rgb(93, 73, 72); } header { border-bottom:1px solid #5d4948; }