#5d4e20 Color
Color Codes | |
---|---|
Hex Code | #5d4e20 |
RGB Code | rgb(93, 78, 32) |
HSL Code | hsl(45, 49%, 25%) |
#5d4e20 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(93, 78, 32); }
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(45, 49%, 25%); }
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 #5d4e20
RGB Code | Hex Code | Preview |
---|---|---|
rgb(93, 78, 32, 10%) | #5d4e201a | |
rgb(93, 78, 32, 20%) | #5d4e2033 | |
rgb(93, 78, 32, 40%) | #5d4e204C | |
rgb(93, 78, 32, 60%) | #5d4e2099 | |
rgb(93, 78, 32, 80%) | #5d4e20CC | |
rgb(93, 78, 32, 100%) | #5d4e20FF |
Saturated and desaturated colors of #5d4e20
HSL Code | Preview |
---|---|
hsl(45, 10%, 25%) | |
hsl(45, 20%, 25%) | |
hsl(45, 40%, 25%) | |
hsl(45, 60%, 25%) | |
hsl(45, 80%, 25%) | |
hsl(45, 100%, 25%) |
#5d4e20 Color Usage In CSS
body { color: #5d4e20; } p { color: rgb(93, 78, 32); } header { border-bottom:1px solid #5d4e20; }