#5c431d Color
Color Codes | |
---|---|
Hex Code | #5c431d |
RGB Code | rgb(92, 67, 29) |
HSL Code | hsl(36, 52%, 24%) |
#5c431d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(92, 67, 29); }
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(36, 52%, 24%); }
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 #5c431d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(92, 67, 29, 10%) | #5c431d1a | |
rgb(92, 67, 29, 20%) | #5c431d33 | |
rgb(92, 67, 29, 40%) | #5c431d4C | |
rgb(92, 67, 29, 60%) | #5c431d99 | |
rgb(92, 67, 29, 80%) | #5c431dCC | |
rgb(92, 67, 29, 100%) | #5c431dFF |
Saturated and desaturated colors of #5c431d
HSL Code | Preview |
---|---|
hsl(36, 10%, 24%) | |
hsl(36, 20%, 24%) | |
hsl(36, 40%, 24%) | |
hsl(36, 60%, 24%) | |
hsl(36, 80%, 24%) | |
hsl(36, 100%, 24%) |
#5c431d Color Usage In CSS
body { color: #5c431d; } p { color: rgb(92, 67, 29); } header { border-bottom:1px solid #5c431d; }