#5c4f2c Color
Color Codes | |
---|---|
Hex Code | #5c4f2c |
RGB Code | rgb(92, 79, 44) |
HSL Code | hsl(44, 35%, 27%) |
#5c4f2c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(92, 79, 44); }
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(44, 35%, 27%); }
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 #5c4f2c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(92, 79, 44, 10%) | #5c4f2c1a | |
rgb(92, 79, 44, 20%) | #5c4f2c33 | |
rgb(92, 79, 44, 40%) | #5c4f2c4C | |
rgb(92, 79, 44, 60%) | #5c4f2c99 | |
rgb(92, 79, 44, 80%) | #5c4f2cCC | |
rgb(92, 79, 44, 100%) | #5c4f2cFF |
Saturated and desaturated colors of #5c4f2c
HSL Code | Preview |
---|---|
hsl(44, 10%, 27%) | |
hsl(44, 20%, 27%) | |
hsl(44, 40%, 27%) | |
hsl(44, 60%, 27%) | |
hsl(44, 80%, 27%) | |
hsl(44, 100%, 27%) |
#5c4f2c Color Usage In CSS
body { color: #5c4f2c; } p { color: rgb(92, 79, 44); } header { border-bottom:1px solid #5c4f2c; }